diff options
author | Daniel Borca <dborca@users.sourceforge.net> | 2003-12-19 11:26:46 +0000 |
---|---|---|
committer | Daniel Borca <dborca@users.sourceforge.net> | 2003-12-19 11:26:46 +0000 |
commit | e9e98405e720845f06f7a375585491e938f4dacd (patch) | |
tree | ae25ec98796f3456f2a5a17ce0a3d02d7838fd33 /progs/demos/tunnel2.c | |
parent | eee77bf82fda5b9f3cf34e96e7d0010bf18db748 (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/demos/tunnel2.c')
-rw-r--r-- | progs/demos/tunnel2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/progs/demos/tunnel2.c b/progs/demos/tunnel2.c index 048cd6d8e7c..436f01b3e49 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); } |