NameError using OpenGL shaders
Bug #163539 reported by
Robert Ancell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyopengl (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When using the python OpenGL bindings a NameError exception is raised when glCompileShader() is called.
The missing function is glGetObjectPara
/usr/share/
I hacked my copy by adding:
from OpenGL.
from OpenGL.
which made it work.
Changed in pyopengl (Ubuntu): | |
importance: | Undecided → Medium |
status: | Incomplete → Fix Released |
To post a comment you must log in.
My output from glxinfo: ARB_multisample , GLX_EXT_ visual_ info, GLX_EXT_ visual_ rating, EXT_import_ context, GLX_EXT_ texture_ from_pixmap, GLX_OML_ swap_method, SGI_make_ current_ read, GLX_SGIS_ multisample, GLX_SGIX_hyperpipe, SGIX_swap_ barrier, GLX_SGIX_fbconfig, GLX_MESA_ copy_sub_ buffer EXT_visual_ info, GLX_EXT_ visual_ rating, GLX_EXT_ import_ context, ARB_get_ proc_address, GLX_SGI_video_sync, GLX_ARB_ multisample, ATI_pixel_ format_ float, GLX_ATI_ render_ texture EXT_visual_ info, GLX_EXT_ visual_ rating, GLX_EXT_ import_ context, ARB_multisample ARB_multitextur e, GL_EXT_ texture_ env_add, GL_EXT_ compiled_ vertex_ array, depth_texture, GL_ARB_ fragment_ program, ARB_fragment_ program_ shadow, GL_ARB_ fragment_ shader, ARB_multisample , GL_ARB_ occlusion_ query, GL_ARB_ point_parameter s, ARB_point_ sprite, GL_ARB_ shader_ objects, GL_ARB_ shading_ language_ 100, shadow_ ambient, GL_ARB_ texture_ border_ clamp, ARB_texture_ compression, GL_ARB_ texture_ cube_map, ARB_texture_ env_add, GL_ARB_ texture_ env_combine, ARB_texture_ env_crossbar, GL_ARB_ texture_ env_dot3, ARB_texture_ float, GL_ARB_ texture_ mirrored_ repeat, ARB_texture_ rectangle, GL_ARB_ transpose_ matrix, GL_ARB_ vertex_ blend, ARB_vertex_ buffer_ object, GL_ARB_ pixel_buffer_ object, ARB_vertex_ program, GL_ARB_ vertex_ shader, GL_ARB_window_pos, ARB_draw_ buffers, GL_ATI_ draw_buffers, GL_ATI_ element_ array, ATI_envmap_ bumpmap, GL_ATI_ fragment_ shader, GL_ATI_ map_object_ buffer, ATI_separate_ stencil, GL_ATI_ texture_ env_combine3, ATI_texture_ float, GL_ATI_ texture_ mirror_ once, ATI_vertex_ array_object, GL_ATI_ vertex_ attrib_ array_object, ATI_vertex_ streams, GL_ATIX_ texture_ env_combine3, ATIX_texture_ env_route, GL_ATIX_ vertex_ shader_ output_ point_size, blend_func_ separate, EXT_blend_ minmax, GL_EXT_ blend_subtract, GL_EXT_ clip_volume_ hint, EXT_draw_ range_elements, GL_EXT_fog_coord, GL_EXT_ framebuffer_ object, EXT_multi_ draw_arrays, GL_EXT_ packed_ pixels, GL_EXT_ point_parameter s, EXT_rescale_ normal, GL_EXT_ secondary_ color, EXT_separate_ specular_ color, GL_EXT_ shadow_ funcs, GL_EXT_ stencil_ wrap, EXT_texgen_ reflection, GL_EXT_texture3D, EXT_texture_ compression_ s3tc, GL_EXT_ texture_ cube_map, EXT_texture_ edge_clamp, GL_EXT_ texture_ env_combine, EXT_texture_ env_dot3, GL_EXT_ texture_ filter_ anisotropic, EXT_texture_ lod_bias, GL_EXT_ texture_ mirror_ clamp, EXT_texture_ object, GL_EXT_ texture_ rectangle, GL_EXT_ vertex_ array, EXT_vertex_ shade.. .
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_
GLX_
GLX_
GLX_
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
GLX_
GLX_
GLX_
GLX version: 1.2
GLX extensions:
GLX_
GLX_
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X300
OpenGL version string: 2.0.6473 (8.37.6)
OpenGL extensions:
GL_
GL_S3_s3tc, GL_ARB_
GL_
GL_
GL_
GL_ARB_shadow, GL_ARB_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_
GL_