Hi,
Here's a little example for determining GL version and whether or not ARB_multitexture is available.
BlitzMax cannot at present 'cross compile'. True, this would be really cool to get going, but it's also really hard to do!
Here's a little example for determining GL version and whether or not ARB_multitexture is available.
BlitzMax cannot at present 'cross compile'. True, this would be really cool to get going, but it's also really hard to do!
Strict bglCreateContext 640,480 glewInit If GL_VERSION_1_1 If GL_VERSION_1_2 If GL_VERSION_1_3 If GL_VERSION_1_4 If GL_VERSION_1_5 If GL_VERSION_2_0 Print "GL 2.0" Else Print "GL 1.5" EndIf Else Print "GL 1.4" EndIf Else Print "GL 1.3" EndIf Else Print "GL 1.2" EndIf Else Print "GL 1.1" EndIf Else Print "GL ?.?" EndIf If GL_ARB_multitexture Print "ARB_multitexture present!" EndIf