|
|
@@ -2608,8 +2608,8 @@ compile_with_grammar(const char *source, |
|
|
|
return GL_FALSE; |
|
|
|
} |
|
|
|
|
|
|
|
if (sl_pp_context_add_extension(context, "ARB_draw_buffers", "GL_ARB_draw_buffers") || |
|
|
|
sl_pp_context_add_extension(context, "ARB_texture_rectangle", "GL_ARB_texture_rectangle")) { |
|
|
|
if (sl_pp_context_add_extension(context, "GL_ARB_draw_buffers", "GL_ARB_draw_buffers") || |
|
|
|
sl_pp_context_add_extension(context, "GL_ARB_texture_rectangle", "GL_ARB_texture_rectangle")) { |
|
|
|
slang_info_log_error(infolog, "%s", sl_pp_context_error_message(context)); |
|
|
|
sl_pp_context_destroy(context); |
|
|
|
return GL_FALSE; |