From 4f961c9e0b7d16363b7121003e3b8f1fdb19d56b Mon Sep 17 00:00:00 2001 From: raven02 Date: Mon, 19 May 2014 21:14:30 +0800 Subject: [PATCH] Add comment for depth format 0 --- rpcs3/Emu/GS/GL/GLGSRender.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpcs3/Emu/GS/GL/GLGSRender.cpp b/rpcs3/Emu/GS/GL/GLGSRender.cpp index fd1e6d8bf4..187d945932 100644 --- a/rpcs3/Emu/GS/GL/GLGSRender.cpp +++ b/rpcs3/Emu/GS/GL/GLGSRender.cpp @@ -719,6 +719,10 @@ void GLGSRender::ExecCMD() switch(m_surface_depth_format) { + // case 0 found in BLJM60410-[Suzukaze no Melt - Days in the Sanctuary] + // [E : RSXThread]: Bad depth format! (0) + // [E : RSXThread]: glEnable: opengl error 0x0506 + // [E : RSXThread]: glDrawArrays: opengl error 0x0506 case 0: m_rbo.Storage(GL_DEPTH_COMPONENT, RSXThread::m_width, RSXThread::m_height); checkForGlError("m_rbo.Storage(GL_DEPTH_COMPONENT)");