projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a769d9
)
fptest1 requires GL_NV_fragment_program
author
Tilman Sauerbeck
<tilman@freedesktop.org>
Fri, 28 Apr 2006 21:50:41 +0000
(21:50 +0000)
committer
Tilman Sauerbeck
<tilman@freedesktop.org>
Fri, 28 Apr 2006 21:50:41 +0000
(21:50 +0000)
progs/tests/fptest1.c
patch
|
blob
|
history
diff --git
a/progs/tests/fptest1.c
b/progs/tests/fptest1.c
index d0bcdaa226de1f9f6fb51ba9542f01e58ada9854..095190a8aefa709cc54a9873cc19028b15ce5ac4 100644
(file)
--- a/
progs/tests/fptest1.c
+++ b/
progs/tests/fptest1.c
@@
-149,6
+149,11
@@
static void Init( void )
GLuint progs[20];
+ if (!glutExtensionSupported ("GL_NV_fragment_program")) {
+ printf("Sorry, this program requires GL_NV_fragment_program\n");
+ exit(1);
+ }
+
glGenProgramsNV(20, progs);
assert(progs[0]);
assert(progs[1]);