summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2003-12-19 11:26:46 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2003-12-19 11:26:46 +0000
commite9e98405e720845f06f7a375585491e938f4dacd (patch)
treeae25ec98796f3456f2a5a17ce0a3d02d7838fd33 /progs
parenteee77bf82fda5b9f3cf34e96e7d0010bf18db748 (diff)
DMesa: removed MGA2064W driver
DMesa: added capability to query visuals fxMesa: WGL_3DFX_gamma_control fxMesa: minor fixes to interface (fxQueryHardware vs fxMesaSelect...)
Diffstat (limited to 'progs')
-rw-r--r--progs/demos/tunnel2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/demos/tunnel2.c b/progs/demos/tunnel2.c
index 048cd6d8e7..436f01b3e4 100644
--- a/progs/demos/tunnel2.c
+++ b/progs/demos/tunnel2.c
@@ -31,7 +31,7 @@ static int fullscreen = 1;
#endif
#ifdef FX
-GLboolean fxMesaSelectCurrentBoard(int);
+GLint fxMesaSelectCurrentBoard(int);
#endif
static int WIDTHC0 = 640;
@@ -549,7 +549,7 @@ main(int ac, char **av)
glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE);
#ifdef FX
- if (!fxMesaSelectCurrentBoard(0)) {
+ if (fxMesaSelectCurrentBoard(0) < 0) {
fprintf(stderr, "The first Voodoo Graphics board is missing !?!?\n");
return -1;
}
@@ -568,7 +568,7 @@ main(int ac, char **av)
glutSpecialFunc(special);
#ifdef FX
- if (!fxMesaSelectCurrentBoard(1)) {
+ if (fxMesaSelectCurrentBoard(1) < 0) {
fprintf(stderr, "The second Voodoo Graphics board is missing !\n");
exit(-1);
}