diff options
author | Brian Paul <[email protected]> | 2009-01-07 18:44:00 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-07 18:44:00 -0700 |
commit | 9629be5e07dc1d2b69cf7a761a6bb3ac0ec26453 (patch) | |
tree | 24ed2fa4cfa50e273550770fc3d2f76d5ed0d561 /src/mesa/shader/slang/slang_preprocess.h | |
parent | 176464b14b8ec2a248aed95df087e47749c851fa (diff) |
glsl: pass GLcontext::Extension info down into GLSL preprocessor
Now the #extension directives can be handled properly.
Diffstat (limited to 'src/mesa/shader/slang/slang_preprocess.h')
-rw-r--r-- | src/mesa/shader/slang/slang_preprocess.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/shader/slang/slang_preprocess.h b/src/mesa/shader/slang/slang_preprocess.h index d8eb12e4ff2..dd996a6314b 100644 --- a/src/mesa/shader/slang/slang_preprocess.h +++ b/src/mesa/shader/slang/slang_preprocess.h @@ -33,8 +33,8 @@ extern GLboolean _slang_preprocess_version (const char *, GLuint *, GLuint *, slang_info_log *); extern GLboolean -_slang_preprocess_directives (slang_string *output, const char *input, - slang_info_log *); - +_slang_preprocess_directives(slang_string *output, const char *input, + slang_info_log *, + const struct gl_extensions *extensions); #endif /* SLANG_PREPROCESS_H */ |