[Vala] Using OpenGL 3.0 from Vala



I am trying to use OpenGL 3.0 from Vala, but I notice that only up to OpenGL 1.3 is defined in the .vapi 
file. The methods relevant to me are defined in GL/glext.h. How would I access the functions declared there?

Is it enough to just write a .vapi file for myself referencing the necessary functions, or should I modify 
gl.vapi? glext.h had a lot of methods, and I am not going to be able to cover all of them myself.


      



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]