This is my source code https://paste.fedoraproject.org/428184/89404314/
The error I got is this:
C:\Python27>python.exe wx_gl_vbo_001.py
Traceback (most recent call last):
File "wx_gl_vbo_001.py", line 63, in <module>
MyApp(redirect = False).MainLoop()
File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_core.py", line 8628, in __init__
self._BootstrapApp()
File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "wx_gl_vbo_001.py", line 60, in OnInit
canvas = MyCanvas(frame)
File "wx_gl_vbo_001.py", line 16, in __init__
}""", GL_VERTEX_SHADER)
File "C:\Python27\lib\site-packages\OpenGL\latebind.py", line 44, in __call__
self._finalCall = self.finalise()
File "C:\Python27\lib\site-packages\OpenGL\extensions.py", line 245, in finalise
self.__name__,
OpenGL.error.NullFunctionError: Attempt to call an undefined alternate function (glCompileShader, glCompileShaderARB), check for bool(glCompileShader) before calling
dir(shaders) come with this functions:
'compileProgram', 'compileShader', 'found', 'fragment_shader', 'geometry_shader4', 'get_program_binary', 'glAttachShader', 'glBindAttribLocation', 'glCompileShader', 'glCreateProgram', 'glCreateShader',