mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Add support for m_surface_depth_format 0
This commit is contained in:
parent
0d0df4b491
commit
c2f3f04808
1 changed files with 5 additions and 0 deletions
|
@ -719,6 +719,11 @@ void GLGSRender::ExecCMD()
|
||||||
|
|
||||||
switch(m_surface_depth_format)
|
switch(m_surface_depth_format)
|
||||||
{
|
{
|
||||||
|
case 0:
|
||||||
|
m_rbo.Storage(GL_DEPTH_COMPONENT, RSXThread::m_width, RSXThread::m_height);
|
||||||
|
checkForGlError("m_rbo.Storage(GL_DEPTH_COMPONENT)");
|
||||||
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
m_rbo.Storage(GL_DEPTH_COMPONENT16, RSXThread::m_width, RSXThread::m_height);
|
m_rbo.Storage(GL_DEPTH_COMPONENT16, RSXThread::m_width, RSXThread::m_height);
|
||||||
checkForGlError("m_rbo.Storage(GL_DEPTH_COMPONENT16)");
|
checkForGlError("m_rbo.Storage(GL_DEPTH_COMPONENT16)");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue