mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-04-24 19:55:34 -06:00
Add support for m_surface_depth_format 0
This commit is contained in:
parent
0d0df4b491
commit
c2f3f04808
@ -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…
Reference in New Issue
Block a user