-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wgl.go does not compile #13
Comments
The problem lies in line 399 and 432 of generator.go (a check for VOID must be added). Maybe I'll fix this today, but there are still some other issues with the wgl/glx code generation. |
Still does not compile for me. github.com/chsc/gogl/wgl1: error: 'GLsync' undeclared (first use in this function) |
Is there any update to the compilation problem? |
Sorry, currently I don't have much time for this. This issue needs much more work. Also WGL (and GLX) binding generation is trickier than I first thought. |
The generator attempts to generate a return when the function has no return type. For example the following code is generated for DeleteBufferRegionARB which has no return type.
func DeleteBufferRegionARB(hRegion Pointer) {
return ()(C.goglDeleteBufferRegionARB((C.HANDLE)(hRegion)))
}
The text was updated successfully, but these errors were encountered: