[Plib-cvs] plib/examples/src/pw pw_demo.cxx,1.6,1.7
Brought to you by:
sjbaker
From: Nick M. <nm...@us...> - 2004-03-24 11:30:34
|
Update of /cvsroot/plib/plib/examples/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1900/examples/src/pw Modified Files: pw_demo.cxx Log Message: Fixed build warning Index: pw_demo.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_demo.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- pw_demo.cxx 24 Mar 2004 01:24:33 -0000 1.6 +++ pw_demo.cxx 24 Mar 2004 11:19:57 -0000 1.7 @@ -78,7 +78,7 @@ while ( 1 ) { - glClearColor ( 0.5, 0.1, 0.1, 1.0 ) ; + glClearColor ( 0.5f, 0.1f, 0.1f, 1.0 ) ; glClear ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ) ; pwSwapBuffers () ; } |