diff options
author | Brian Paul <[email protected]> | 2010-02-10 08:27:03 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-02-10 08:28:37 -0700 |
commit | eb095b67ad230876bc0ea1266b0a39244b1124b4 (patch) | |
tree | 10fd946de22ee0bb49054059e62f9c65e72a9969 /src/mesa | |
parent | f88b43e8d09bf359e7d5770b133cb433b25f9848 (diff) |
glsl: GLSL extensions have the GL_ prefix
Both the #extension directive name and the preprocessor symbol start
with the GL_ prefix. For example:
...
New glean/glsl1 tests have been added to test the #extension feature.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index 63d10f45978..49fe2fa897a 100644 --- a/src/mesa/shader/slang/slang_compile.c +++ b/src/mesa/shader/slang/slang_compile.c @@ -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; |