summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_preprocess.h
diff options
context:
space:
mode:
authorMichal Krol <mjkrol@gmail.org>2006-08-21 09:25:11 +0000
committerMichal Krol <mjkrol@gmail.org>2006-08-21 09:25:11 +0000
commit1d67cad9af17d1a56c9370dc221eba7eeb74b1cb (patch)
treecabbd4a69aba5520d280b0da8701227cb5de6aa6 /src/mesa/shader/slang/slang_preprocess.h
parent798ef5ce330fa308dad60e4550dd1a0437be5338 (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.h3
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 60635cc40b..b55852dc4c 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
}