diff options
author | Michal Krol <[email protected]> | 2006-08-21 09:25:11 +0000 |
---|---|---|
committer | Michal Krol <[email protected]> | 2006-08-21 09:25:11 +0000 |
commit | 1d67cad9af17d1a56c9370dc221eba7eeb74b1cb (patch) | |
tree | cabbd4a69aba5520d280b0da8701227cb5de6aa6 /src/mesa/shader/slang/slang_preprocess.h | |
parent | 798ef5ce330fa308dad60e4550dd1a0437be5338 (diff) |
More GLSL preprocessor code:
Rename slang_version.syn to slang_pp_version.syn.
The #version directive understands version 120.
Cosmetic changes in version preprocessor.
Checks if requested version is supported by the compiler.
Diffstat (limited to 'src/mesa/shader/slang/slang_preprocess.h')
-rw-r--r-- | src/mesa/shader/slang/slang_preprocess.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_preprocess.h b/src/mesa/shader/slang/slang_preprocess.h index 60635cc40b1..b55852dc4c0 100644 --- a/src/mesa/shader/slang/slang_preprocess.h +++ b/src/mesa/shader/slang/slang_preprocess.h @@ -31,7 +31,8 @@ extern "C" { #endif -int _slang_preprocess_version (const char *, unsigned int *, unsigned int *, slang_info_log *); +GLboolean +_slang_preprocess_version (const char *, GLuint *, GLuint *, slang_info_log *); #ifdef __cplusplus } |