PDA

View Full Version : linux and windows extensions



supagu
02-12-2004, 03:17 AM
i havent looked into extensions much, but it does seem to be different between windows an linux.

If there som universal way to do seomthing about this?

maybe something like:

//multit texture should be defined on linux already right?
if not defined multitexture
define multitexture
bind windows functions here


//use extensions all the same down later...

cheers

stefan
02-12-2004, 06:17 AM
Why reinventing the wheel? Take one of the many libraries that do the tedious task of extension loading for openGL. Google for glux, glew, extgl, NVidias SDK,...

bunny
02-12-2004, 06:26 AM
GLee also works on windows and linux: http://elf-stone.com/downloads.php#GLee

All extensions are loaded automatically by calling GLeeInit().

supagu
02-12-2004, 09:46 PM
sweet! thanks for the hints there http://www.opengl.org/discussion_boards/ubb/smile.gif

supagu
02-24-2004, 03:06 AM
i'm trying out glux, but when i add it in, it comes up with 17 link errors, conflicting with other libs, as well as having unresolved symbols :-/