OpenGL 3.1+ : Simple example

Started by Petr Schreiber, August 14, 2009, 11:10:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

José Roca

Patrice, the class allows to check OBJRESULT to know if the call has succeeded. It returns ERROR_PROC_NOT_FOUND (&H8007007F&) if the extension does not exist. Using SUBs, you can't return an error code and you need to check if the exten sion exists before calling it.

Patrice Terrier


I am also checking if the extension exist with the Flat API, but i am not returning an error, because i check first for the requested OpenGL version.


Patrice Terrier
GDImage (advanced graphic addon)

Petr Schreiber

AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3