diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-15 17:56:49 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-15 17:56:49 +0000 |
commit | ce431fae016f9e576e7cb42f7eeb0e5e2169565c (patch) | |
tree | c0fb274d28cd0b9bfaa64e5d874e3466b2935568 | |
parent | 7e80d39f497e719f91d069435ed0e32718017dc0 (diff) |
changed c++-style comments to c-style comments
-rwxr-xr-x | GL/windows/indirect.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/GL/windows/indirect.c b/GL/windows/indirect.c index 9510cf6e8..27f276a0c 100755 --- a/GL/windows/indirect.c +++ b/GL/windows/indirect.c @@ -417,7 +417,7 @@ static void attach(__GLcontext *gc, __GLdrawablePrivate *glPriv) static GLboolean glWinLoseCurrent(__GLcontext *gc) { - //GLWIN_DEBUG_MSG("glWinLoseCurrent (ctx %p)\n", gc->ctx); + /*GLWIN_DEBUG_MSG("glWinLoseCurrent (ctx %p)\n", gc->ctx);*/ __glXLastContext = NULL; /* Mesa does this; why? */ @@ -447,14 +447,14 @@ static GLboolean glWinMakeCurrent(__GLcontext *gc) BOOL ret; HDC dc; - //GLWIN_DEBUG_MSG("glWinMakeCurrent (ctx %p)\n", gc->ctx); + /*GLWIN_DEBUG_MSG("glWinMakeCurrent (ctx %p)\n", gc->ctx);*/ if (!gc->isAttached) attach(gc, glPriv); dc = glWinMakeDC(gc); - //if (debugSettings.dumpDC) - // GLWIN_DEBUG_MSG("Got HDC %p\n", dc); + /*if (debugSettings.dumpDC)*/ + /* GLWIN_DEBUG_MSG("Got HDC %p\n", dc);*/ ret = wglMakeCurrent(dc, gc->ctx); if (!ret) ErrorF("glMakeCurrent error: %s\n", winErrorMessage()); @@ -624,6 +624,7 @@ static int makeFormat(__GLcontextModes *mode, PIXELFORMATDESCRIPTOR *pfdret) /* disable anything but rgba. must get rgba to work first */ if (!mode->rgbMode) return -1; + if (mode->stereoMode) { result->dwFlags |= PFD_STEREO; } |