diff options
author | Brian Paul <[email protected]> | 2003-08-28 16:57:01 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-08-28 16:57:01 +0000 |
commit | 760960028f189e3afcbfef1f877dbd5b86fd1ae4 (patch) | |
tree | d328ec20f2561c00199f6eb14a98edef0069f22e /src/glut/dos/window.c | |
parent | 9e94aaf6e377843194c4b9ab6e2e96f06aef88f2 (diff) |
Updates from Daniel Borca
Diffstat (limited to 'src/glut/dos/window.c')
-rw-r--r-- | src/glut/dos/window.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/glut/dos/window.c b/src/glut/dos/window.c index 06e8ea9ead1..af00897f3e5 100644 --- a/src/glut/dos/window.c +++ b/src/glut/dos/window.c @@ -71,10 +71,10 @@ int APIENTRY glutCreateWindow (const char *title) if ((visual=DMesaCreateVisual(g_init_x + m8width, g_init_y + g_init_h, g_bpp, g_refresh, g_display_mode & GLUT_DOUBLE, !(g_display_mode & GLUT_INDEX), - g_display_mode & GLUT_ALPHA, - g_display_mode & GLUT_DEPTH ? g_depth :0, - g_display_mode & GLUT_STENCIL ? g_stencil:0, - g_display_mode & GLUT_ACCUM ? g_accum :0))==NULL) { + (g_display_mode & GLUT_ALPHA ) ? g_alpha : 0, + (g_display_mode & GLUT_DEPTH ) ? g_depth : 0, + (g_display_mode & GLUT_STENCIL) ? g_stencil : 0, + (g_display_mode & GLUT_ACCUM ) ? g_accum : 0))==NULL) { return 0; } |