[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LuaJIT + glXGetProcAddress
- From: Mike Pall <mikelu-1203@...>
- Date: Thu, 15 Mar 2012 22:33:28 +0100
Henk Boom wrote:
> I would expect glCreateShader to return a non-zero value, as per the
> spec, but it returns 0 (opengl's null handle) every time. I should
> mention that an opengl context of the proper version has already been
> initialized at this point through GLFW.
Well, a problem with the context would have been my first guess.
But I don't see anything obviously wrong. Can you post a complete
example, including your (minimized) GL initialization code?
I know other people have used GL extensions successfully via the
FFI (lots of projects on GitHub). So I don't think it's an issue
with the FFI itself.
--Mike