We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e6660 commit 1bf6826Copy full SHA for 1bf6826
src/glc_framebuffer.c
@@ -61,6 +61,11 @@ qbool GLC_CompilePostProcessProgram(void)
61
}
62
if (post_process_flags & POST_PROCESS_3DONLY) {
63
strlcat(included_definitions, "#define EZ_POSTPROCESS_OVERLAY\n", sizeof(included_definitions));
64
+ if (SDL_GL_ExtensionSupported("GL_ARB_draw_buffers")) {
65
+ strlcat(included_definitions, "#extension GL_ARB_draw_buffers : enable\n", sizeof(included_definitions));
66
+ } else if (SDL_GL_ExtensionSupported("GL_EXT_draw_buffers")) {
67
+ strlcat(included_definitions, "#extension GL_EXT_draw_buffers : enable\n", sizeof(included_definitions));
68
+ }
69
70
if (post_process_flags & POST_PROCESS_FXAA) {
71
qbool supported = true;
0 commit comments