[Plib-cvs] plib/src/pw pwWindows.cxx,1.4,1.5 pwX11.cxx,1.4,1.5
Brought to you by:
sjbaker
From: Steve B. <sj...@us...> - 2004-02-24 02:16:44
|
Update of /cvsroot/plib/plib/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20388/plib/src/pw Modified Files: pwWindows.cxx pwX11.cxx Log Message: Oops! Left the clear-screen stuff in the wrong place. Index: pwWindows.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwWindows.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pwWindows.cxx 24 Feb 2004 02:06:03 -0000 1.4 +++ pwWindows.cxx 24 Feb 2004 02:10:40 -0000 1.5 @@ -149,11 +149,6 @@ mpCB = mp ; resizeCB = rcb ; exitCB = ecb ? ecb : defaultExitFunc ; - - glClear ( GL_COLOR_BUFFER_BIT ) ; - pwSwapBuffers () ; - glClear ( GL_COLOR_BUFFER_BIT ) ; - pwSwapBuffers () ; } @@ -291,6 +286,11 @@ resizeCB = NULL ; exitCB = defaultExitFunc ; initialised = 1 ; + + glClear ( GL_COLOR_BUFFER_BIT ) ; + pwSwapBuffers () ; + glClear ( GL_COLOR_BUFFER_BIT ) ; + pwSwapBuffers () ; } Index: pwX11.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwX11.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pwX11.cxx 24 Feb 2004 02:06:03 -0000 1.4 +++ pwX11.cxx 24 Feb 2004 02:10:40 -0000 1.5 @@ -194,11 +194,6 @@ mpCB = mp ; resizeCB = rcb ; exitCB = ecb ? ecb : defaultExitFunc ; - - glClear ( GL_COLOR_BUFFER_BIT ) ; - pwSwapBuffers () ; - glClear ( GL_COLOR_BUFFER_BIT ) ; - pwSwapBuffers () ; } @@ -361,6 +356,11 @@ exitCB = defaultExitFunc ; initialised = 1 ; + + glClear ( GL_COLOR_BUFFER_BIT ) ; + pwSwapBuffers () ; + glClear ( GL_COLOR_BUFFER_BIT ) ; + pwSwapBuffers () ; } |