diff options
author | Michal Krol <mjkrol@gmail.org> | 2006-05-30 09:38:16 +0000 |
---|---|---|
committer | Michal Krol <mjkrol@gmail.org> | 2006-05-30 09:38:16 +0000 |
commit | 23b7c7dc1469ba5bbd14f736a3c188c63cd4f280 (patch) | |
tree | d56b43599a3f39ad6ec2f073e91247733b15c55d /progs/slang/vstest.c | |
parent | 44d5c8668a43fc06115ea83554bb2249ea4d2c6f (diff) | |
download | external_mesa3d-23b7c7dc1469ba5bbd14f736a3c188c63cd4f280.zip external_mesa3d-23b7c7dc1469ba5bbd14f736a3c188c63cd4f280.tar.gz external_mesa3d-23b7c7dc1469ba5bbd14f736a3c188c63cd4f280.tar.bz2 |
Make it running under Linux.
Diffstat (limited to 'progs/slang/vstest.c')
-rw-r--r-- | progs/slang/vstest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/slang/vstest.c b/progs/slang/vstest.c index 95d2ed6..e31f3b1 100644 --- a/progs/slang/vstest.c +++ b/progs/slang/vstest.c @@ -210,7 +210,7 @@ static void dl_end () static void load_test_file (const char *filename) { FILE *f; - long size; + GLint size; char *code; GLint i; @@ -230,7 +230,7 @@ static void load_test_file (const char *filename) size = fread (code, 1, size, f); fclose (f); - glShaderSourceARB (vert, 1, &code, &size); + glShaderSourceARB (vert, 1, (const GLcharARB **) (&code), &size); glCompileShaderARB (vert); if (!CheckObjectStatus (vert)) exit (0); |