diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2010-01-24 19:05:43 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2010-01-24 19:05:43 +0000 |
commit | 26a85e63d21dafeb76dfd6cb6abed5922ad4b0bd (patch) | |
tree | 4703844e27be7bbddf297b95b99c3ad25d81162e /games-action/accelerator3d/files | |
parent | apple-opengl was renamed to opengl-apple (diff) | |
download | gentoo-2-26a85e63d21dafeb76dfd6cb6abed5922ad4b0bd.tar.gz gentoo-2-26a85e63d21dafeb76dfd6cb6abed5922ad4b0bd.tar.bz2 gentoo-2-26a85e63d21dafeb76dfd6cb6abed5922ad4b0bd.zip |
Fix runtime error with recent pyopengl versions, bug #297521
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'games-action/accelerator3d/files')
-rw-r--r-- | games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch b/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch new file mode 100644 index 000000000000..b850ccfa5bab --- /dev/null +++ b/games-action/accelerator3d/files/accelerator3d-0.1.1-gllightmodel.patch @@ -0,0 +1,11 @@ +--- accelerator.py ++++ 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) |