You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/games-action/accelerator3d/files/accelerator3d-0.1.1-gllight...

12 lines
574 B

--- a/accelerator.py
+++ b/accelerator.py
@@ -274,7 +274,7 @@
glColorMaterial(GL_FRONT,GL_AMBIENT_AND_DIFFUSE)
glMaterialfv(GL_FRONT,GL_SHININESS,128)
glMaterialfv(GL_FRONT,GL_SPECULAR,(0.5,0.5,0.5,1))
- glLightModel(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
+ glLightModeli(GL_LIGHT_MODEL_COLOR_CONTROL_EXT,GL_SEPARATE_SPECULAR_COLOR_EXT) # GL_LIGHT_MODEL_COLOR_CONTROL, GL_SEPARATE_SPECULAR_COLOR
glEnable(GL_LINE_SMOOTH)
glEnable(GL_NORMALIZE)
#glPolygonMode(GL_FRONT,GL_LINE)