1
0
Fork 0
forked from suyu/suyu

gl_rasterizer: Signal UNIMPLEMENTED when rt_separate_frag_data is not zero

This commit is contained in:
ReinUsesLisp 2018-11-28 21:26:22 -03:00
parent 653d7a3f0d
commit 037449668e

View file

@ -430,7 +430,7 @@ void RasterizerOpenGL::ConfigureFramebuffers(OpenGLState& current_state, bool us
// TODO(bunnei): Figure out how the below register works. According to envytools, this should be // TODO(bunnei): Figure out how the below register works. According to envytools, this should be
// used to enable multiple render targets. However, it is left unset on all games that I have // used to enable multiple render targets. However, it is left unset on all games that I have
// tested. // tested.
ASSERT_MSG(regs.rt_separate_frag_data == 0, "Unimplemented"); UNIMPLEMENTED_IF(regs.rt_separate_frag_data != 0);
// Bind the framebuffer surfaces // Bind the framebuffer surfaces
current_state.draw.draw_framebuffer = framebuffer.handle; current_state.draw.draw_framebuffer = framebuffer.handle;