PDA

View Full Version : Extensions in linux



mdog1234
07-29-2003, 05:20 AM
Can someone help me set up glLockArraysEXT and glUnlockArraysEXT; I know you have to do this in windows:
PFNGLLOCKARRAYSEXTPROC glLockArraysEXT = NULL;

PFNGLUNLOCKARRAYSEXTPROC glUnlockArraysEXT = NULL;

glLockArraysEXT = ( PFNGLLOCKARRAYSEXTPROC ) wglGetProcAddress ( "glLockArraysEXT");
glUnlockArraysEXT = ( PFNGLUNLOCKARRAYSEXTPROC ) wglGetProcAddress ( "glUnlockArraysEXT" )

but is there something like this in linux that you must do.

JanHH
07-29-2003, 08:54 AM
with linux you can simply use all extensions (at least that's my experience), the functions and parameters are already "there". look at gl.h and you will find them present.

deadalive
07-29-2003, 11:49 AM
Hey thanks JanHH that helped me out too! I should have figured, since the whole reason we are forced to do this under windows is the evil MS-not-supporting-past-gl-1.1-thing. peace!