Jump to content
  • Advertisement
Sign in to follow this  
LorenzoGatti

OpenGL Missing functions

This topic is 3629 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The "driver" for the Intel 965 GM "graphics" "adapter" claims to suport OpenGL version 1.5 (how current!) but it "forgets" to export any of the corresponding functions. This means no buffer objects (see example below) and no occlusion queries. Way to go, Intel!
Traceback (most recent call last):
  File "test.py", line 19, in <module>
    text = pyglet.text.Label(text='Hello, World!', font_name='Arial', font_size=36.0)
  File "C:\Python25\lib\site-packages\pyglet\text\__init__.py", line 433, in __init__
    multiline, dpi, batch, group)
  File "C:\Python25\lib\site-packages\pyglet\text\__init__.py", line 257, in __init__
    dpi=dpi, batch=batch, group=group)
  File "C:\Python25\lib\site-packages\pyglet\text\layout.py", line 768, in __init__
    self.document = document
  File "C:\Python25\lib\site-packages\pyglet\text\layout.py", line 841, in _set_document
    self._init_document()
  File "C:\Python25\lib\site-packages\pyglet\text\layout.py", line 941, in _init_document
    self._update()
  File "C:\Python25\lib\site-packages\pyglet\text\layout.py", line 890, in _update
    line.start, line.boxes, context)
  File "C:\Python25\lib\site-packages\pyglet\text\layout.py", line 1364, in _create_vertex_lists
    box.place(self, i, x, y, context)
  File "C:\Python25\lib\site-packages\pyglet\text\layout.py", line 355, in place
    ('c4B/dynamic', colors))
  File "C:\Python25\Lib\site-packages\pyglet\graphics\__init__.py", line 342, in add
    domain = self._get_domain(False, mode, group, formats)
  File "C:\Python25\Lib\site-packages\pyglet\graphics\__init__.py", line 430, in _get_domain
    domain = vertexdomain.create_domain(*formats)
  File "C:\Python25\Lib\site-packages\pyglet\graphics\vertexdomain.py", line 135, in create_domain
    return VertexDomain(attribute_usages)
  File "C:\Python25\Lib\site-packages\pyglet\graphics\vertexdomain.py", line 173, in __init__
    usage=usage, vbo=vbo)
  File "C:\Python25\Lib\site-packages\pyglet\graphics\vertexbuffer.py", line 103, in create_mappable_buffer
    return MappableVertexBufferObject(size, target, usage)
  File "C:\Python25\Lib\site-packages\pyglet\graphics\vertexbuffer.py", line 356, in __init__
    super(MappableVertexBufferObject, self).__init__(size, target, usage)
  File "C:\Python25\Lib\site-packages\pyglet\graphics\vertexbuffer.py", line 286, in __init__
    glGenBuffers(1, id)
  File "C:\Python25\Lib\site-packages\pyglet\gl\lib_wgl.py", line 94, in __call__
    result = self.func(*args, **kwargs)
  File "C:\Python25\Lib\site-packages\pyglet\gl\lib.py", line 63, in MissingFunction
    raise MissingFunctionException(name, requires, suggestions)
pyglet.gl.lib.MissingFunctionException: glGenBuffers is not exported by the available OpenGL driver.  VERSION_1_5 is required for this functionality.

Share this post


Link to post
Share on other sites
Advertisement
I'm still on version 4873, but the release notes for the last two updates mention nothing new about OpenGL support. Do you have any evidence that new drivers contain improvements?

Share this post


Link to post
Share on other sites
Quote:
Original post by LorenzoGatti
I'm still on version 4873, but the release notes for the last two updates mention nothing new about OpenGL support. Do you have any evidence that new drivers contain improvements?
Worth a try anyway. Does pyglet offer a force-link option?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!