cosmetics in one demo
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1448 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
0517f0e543
commit
5fb529348a
@ -118,8 +118,8 @@ void SampleDisplay( void )
|
|||||||
else if (win==g_sw2)
|
else if (win==g_sw2)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Clear the screen
|
* Clear the screen
|
||||||
*/
|
*/
|
||||||
glClearColor(0.3f,0.3f,0.3f,1);
|
glClearColor(0.3f,0.3f,0.3f,1);
|
||||||
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
|
glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT );
|
||||||
glutPostWindowRedisplay(g_mainwin);
|
glutPostWindowRedisplay(g_mainwin);
|
||||||
|
Reference in New Issue
Block a user