[Vala] Vala, SDL, GlSwapBuffers
- From: David Gomes <david elementaryos org>
- To: vala-list gnome org
- Subject: [Vala] Vala, SDL, GlSwapBuffers
- Date: Sat, 11 Aug 2012 12:52:57 +0100
I'm trying to write a sample application that uses SDL and OpenGL, to write
a tutorial on it, since there is no information on this online. However, I
need access to glSwapBuffers (), and I don't know how to access it with
Vala SDL bindings. I can access it with GLUT, but I can't use Glut, the
point is to use SDL. I tried searching and valadoc.org, with no luck.
http://www.libsdl.org/docs/html/sdlglswapbuffers.html
That is the SDL function I need, but I can't find it in Vala SDL bindings.
I tried lots of things like glSwapBuffers (); SDL.glSwapBuffers ();, but I
found nothing that works.
Any ideas? Thank you.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]