Skip to content

Commit 47493f2

Browse files
committed
Github #6 extension types for EGL to byte-strings
1 parent 43b5b24 commit 47493f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

OpenGL/raw/EGL/_types.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
from OpenGL._opaque import opaque_pointer_cls as _opaque_pointer_cls
44
from OpenGL import platform as _p
55
from OpenGL import extensions
6+
from OpenGL._bytes import as_8_bit
67

78
class _EGLQuerier( extensions.ExtensionQuerier ):
8-
prefix = 'EGL_'
9+
prefix = as_8_bit('EGL_')
910
assumed_version = [1,0]
10-
version_prefix = 'EGL_VERSION_EGL_'
11+
version_prefix = as_8_bit('EGL_VERSION_EGL_')
1112
def getDisplay( self ):
1213
"""Retrieve the currently-bound, or the default, display"""
1314
from OpenGL.EGL import (

0 commit comments

Comments
 (0)