mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00: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)
|
||||
{
|
||||
case 0:
|
||||
m_rbo.Storage(GL_DEPTH_COMPONENT, RSXThread::m_width, RSXThread::m_height);
|
||||
checkForGlError("m_rbo.Storage(GL_DEPTH_COMPONENT)");
|
||||
break;
|
||||
|
||||
case 1:
|
||||
m_rbo.Storage(GL_DEPTH_COMPONENT16, RSXThread::m_width, RSXThread::m_height);
|
||||
checkForGlError("m_rbo.Storage(GL_DEPTH_COMPONENT16)");
|
||||
|
|
Loading…
Add table
Reference in a new issue