|
Hi, PIXELFORMATDESCRIPTOR is not used by LuaGL. You need it to
initialiaze the OpenGL in Windows, which is usually done at the GUI toolkit you
are using to create the Window where you are going to draw. For instance, in IUP this is done by the IupGLCanvas control. Best Regards, Antonio Scuri From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of azrael goblin Hi everybody, I wanted to fill a
PIXELFORMATDESCRIPTOR struct in order to call a LuaGl function , i
have to calculate this struct's bytes.I can use sizeof() in C,but i cant find a
function to complete the same task in pure Lua.Does anybody know how to
solution it ? |