Skip to content

Commit af9c3f7

Browse files
committed
Tidy up a couple of shim types
1 parent 1beacc9 commit af9c3f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/flitter/render/window/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,6 @@ def get_function(name, *signature):
406406
GLFWLoader.FUNCTIONS[name] = function
407407
return function
408408

409-
@GLFUNCTYPE(None, ctypes.c_int, ctypes.c_int)
410409
@GLFUNCTYPE(None, ctypes.c_uint, ctypes.c_uint)
411410
@staticmethod
412411
def shim_glClampColor(target, clamp):
@@ -418,7 +417,7 @@ def shim_glClearDepth(depth):
418417
glClearDepthf = GLFWLoader.get_function('glClearDepthf', None, ctypes.c_float)
419418
glClearDepthf(depth)
420419

421-
@GLFUNCTYPE(None, ctypes.c_int)
420+
@GLFUNCTYPE(None, ctypes.c_uint)
422421
@staticmethod
423422
def shim_glDrawBuffer(buf):
424423
glDrawBuffers = GLFWLoader.get_function('glDrawBuffers', None, ctypes.c_uint, ctypes.POINTER(ctypes.c_uint))

0 commit comments

Comments
 (0)