X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=progs%2Fdemos%2FOne%2Fone.c;h=627630e637dd143540f04b7706c22bb0e93681c0;hb=0c26580b96f8e2f431489049be61077bd24dd21d;hp=7d609db66604f1d768d2b3a19b4e648644188098;hpb=13bc069810e3f513a9aa6cd44e8a37d02c7baabf;p=freeglut diff --git a/progs/demos/One/one.c b/progs/demos/One/one.c index 7d609db..627630e 100644 --- a/progs/demos/One/one.c +++ b/progs/demos/One/one.c @@ -35,6 +35,7 @@ void PrintText( int nX, int nY, char* pszText ) /* * Prepare the OpenGL state */ + glDisable( GL_LIGHTING ); glDisable( GL_DEPTH_TEST ); glMatrixMode( GL_PROJECTION ); glPushMatrix(); @@ -86,6 +87,7 @@ void PrintText( int nX, int nY, char* pszText ) */ glColor4f( 1.0f, 1.0f, 1.0f, 1.0f ); glEnable( GL_DEPTH_TEST ); + glEnable( GL_LIGHTING ); } /*