IntelHD3000グラフィックチップセットを搭載したWindows864ビットラップトップのPyOpenGL3.0.2に問題があります。glGenBuffers(1)
(適切なGL初期化後の)への呼び出しはすべてクラッシュします:
File ".\sample.py", line 7, in init
buffer = glGenBuffers(1)
File "latebind.pyx", line 32, in OpenGL_accelerate.latebind.LateBind.__call__ (src\latebind.c:768)
File "wrapper.pyx", line 308, in OpenGL_accelerate.wrapper.Wrapper.__call__ (src\wrapper.c:5811)
File "C:\Python27\lib\site-packages\OpenGL\platform\baseplatform.py", line 379, in __call__
return self( *args, **named )
WindowsError: exception: access violation writing 0x00000000720CF630
まったく同じスクリプトが他のマシンでも機能します。
OpenGL 3.1をサポートする最新バージョンのGPUドライバー(15.28.12.64.2932)を持っています。
何か案は?
サンプルスクリプトは次のとおりです。
import sys
from OpenGL.GLUT import *
from OpenGL.GL import *
from OpenGL.GLU import *
def init():
buffer = glGenBuffers(1)
glutInit(sys.argv)
glutInitWindowSize(600, 600)
glutCreateWindow("Sample")
init()
glutMainLoop()