Merge lp:~r-reilink/pyopengl/pyopengl into lp:pyopengl

Proposed by Rob Reilink
Status: Merged
Merged at revision: 489
Proposed branch: lp:~r-reilink/pyopengl/pyopengl
Merge into: lp:pyopengl
Diff against target: 20 lines (+2/-1)
1 file modified
OpenGL/platform/baseplatform.py (+2/-1)
To merge this branch: bzr merge lp:~r-reilink/pyopengl/pyopengl
Reviewer Review Type Date Requested Status
Mike C. Fletcher Pending
Review via email: mp+103881@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'OpenGL/platform/baseplatform.py'
2--- OpenGL/platform/baseplatform.py 2012-02-03 12:16:53 +0000
3+++ OpenGL/platform/baseplatform.py 2012-04-27 14:07:22 +0000
4@@ -2,6 +2,7 @@
5 """
6 import ctypes
7 from OpenGL.platform import ctypesloader
8+from OpenGL._bytes import as_8_bit
9 import sys
10 from OpenGL import _configflags
11 from OpenGL import logs, MODULE_ANNOTATIONS
12@@ -139,7 +140,7 @@
13 if extension and not self.EXTENSIONS_USE_BASE_FUNCTIONS:
14 # what about the VERSION values???
15 if self.checkExtension( extension ):
16- pointer = self.getExtensionProcedure( functionName )
17+ pointer = self.getExtensionProcedure( as_8_bit(functionName) )
18 if pointer:
19 func = self.functionTypeFor( dll )(
20 resultType,

Subscribers

People subscribed via source and target branches

to all changes: