enabling smooth shading model
git-svn-id: svn://anubis/anaglym/trunk@52 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
parent
7fc07f1bf1
commit
a3073efb89
1
Video.cc
1
Video.cc
@ -53,6 +53,7 @@ void Video::start(int width, int height, bool fullscreen)
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_LIGHTING);
|
||||
glEnable(GL_LIGHT0);
|
||||
glShadeModel(GL_SMOOTH);
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
gluPerspective(60.0, (double) width / (double) height, 0.01, 10000.0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user