]> git.cworth.org Git - apitrace/blobdiff - specs/gltypes.py
glretrace: Put currentContext on TLS.
[apitrace] / specs / gltypes.py
index 4324ac7e389ad75a6fb9abfadc5127a685a3a10f..23af3279e54f2e51a33e8ebba9ad6166131a7d36 100644 (file)
@@ -100,7 +100,7 @@ GLshader = Handle("shader", GLuint)
 GLlocation = Handle("location", GLint, key=('program', GLhandleARB))
 GLlocationARB = Handle("location", GLint, key=('programObj', GLhandleARB))
 
-contextKey = ('reinterpret_cast<uintptr_t>(glretrace::currentContext)', UIntPtr)
+contextKey = ('reinterpret_cast<uintptr_t>(glretrace::getCurrentContext())', UIntPtr)
 
 GLprogramARB = Handle("programARB", GLuint)
 GLframebuffer = Handle("framebuffer", GLuint)