|
From: Mark D. <dil...@ua...> - 2004-04-17 00:41:31
|
I'm having a tough time getting any glExtensions to work such as
glActiveTextureARB. I know that in windows you have to do this:
PFNGLACTIVETEXTUREARBPROC glActiveTextureARB;
glActiveTextureARB = SDL_GL_GetProcAddress("glActiveTextureARB");
or you can use wglGetProcAddress
but neither work for me. Dev-cpp tells me that glAtiveTextureARB is
already defined, and if I remove that line, then it compiles ok, but
won't link. I know it's not my code because this tutorial from nehe for
dev-cpp won't compile either:
http://nehe.gamedev.net/data/lessons/devc/lesson22.zip
I really need to get a windows version of my game working. Any advice
is much appreciated.
Thanks for you help,
Mark Dillavou
|