diff options
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/gloss.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/progs/demos/gloss.c b/progs/demos/gloss.c index 450861e577..ddfd548b8b 100644 --- a/progs/demos/gloss.c +++ b/progs/demos/gloss.c @@ -282,6 +282,13 @@ static void Init( int argc, char *argv[] ) } } + if (convolve && !glutExtensionSupported("GL_ARB_imaging")) { + fprintf(stderr, + "GL_ARB_imaging is not supported, disabling convolution.\n"); + exit(1); + } + + if (fullscreen) glutFullScreen(); |