Hello everyone,

I add the OpenGL (gl.vapi and glu.vapi) and gtkglext (gtkglext-1.0.vapi)
bindings!!!

There are all the consts, functions, enums, objects, etc.. But I need
testers for this bindings because maybe there is typing errors.

Compile the sample code in this mail with:
valac prueba.vala --pkg gtk+-2.0 --pkg gtkglext-1.0 --pkg gdk-2.0 --pkg gl
--pkg glu

WARNING: we need to change this header file
(/usr/include/gtkglext-1.0/gdk/gdkglconfig.h) because will have an
compilation error.

replace 'GDK_IS_GL_CONFIG' with: 'GDK_GL_IS_CONFIG'
replace 'GDK_IS_GL_CONFIG_CLASS' with: 'GDK_GL_IS_CONFIG_CLASS'

I don't know if this is a bug of gtkglext.
ANOTHER WARNING: This code do not work with compiz-fusion enabled!!!!!!

Any comment or test will be welcome.
Matias

Attachment: prueba.vala
Description: Binary data

_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to