remove some unnecessary GL commands now that we're using shaders
This commit is contained in:
parent
ee2a618de8
commit
123951d863
@ -42,9 +42,6 @@ int main (int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
GnomeScreensaver gs(&argc, &argv, configure, expose, update, 12);
|
GnomeScreensaver gs(&argc, &argv, configure, expose, update, 12);
|
||||||
|
|
||||||
glShadeModel(GL_SMOOTH);
|
|
||||||
glEnable(GL_LIGHTING);
|
|
||||||
glEnable(GL_LIGHT0);
|
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
|
|
||||||
current_mode = getMode(gs);
|
current_mode = getMode(gs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user