Thats true!!!
Thank you
----- Original Message -----
From: Antonio Scuri
To: IUP discussion list.
Sent: Friday, March 07, 2014 6:31 PM
Subject: Re: [Iup-users] GL context

Make sure you do those calls after at least one iup.glcanvas is mapped on the system.

In "luagl.wlua" i got all 6 output when the print is done after the dialog is shown.

Best,
Scuri



On Fri, Mar 7, 2014 at 1:24 PM, Victor Bombi <sonoro@telefonica.net> wrote:
I am getting info with

 print("glu.VERSION ",glu.GetString(glu.VERSION))
 print("glu.EXTENSIONS ",glu.GetString(glu.EXTENSIONS))
 print("gl.VENDOR ",gl.GetString(gl.VENDOR))
 print("gl.RENDERER ",gl.GetString(gl.RENDERER))
 print("gl.VERSION ",gl.GetString(gl.VERSION))
 print("gl.EXTENSIONS ",gl.GetString(gl.EXTENSIONS))

(in luaGL dialect)

For GL bindings I am using luaGL or glfw ( a ffi binding to GLFW and GL)

For window sytem I am using:
1-iup I am only getting the first 2 lines (with both bindings: luaGL or
GLFW)
2-wxlua I get 6 lines (specifically the version 2.1 of opengl)
3-GLFW as window system I get the same as wxlua

Thats why I think that the GL context provided by iup is the "basic" one
corresponding to opengl 1.3
and not the extensions provided by wglGetProcAddress? as explained in
http://www.opengl.org/wiki/Load_OpenGL_Functions#Windows_2
for example or by other helper library


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk


_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users