PDA

View Full Version : Redefinition...



MrShoe
04-30-2001, 02:30 AM
I am trying to learn lightmaps, anyways, i got zeds lightmap tutorial and i compiled it fine under .cpp format. but i MUCH prefer in .c format (C instead of C++), but when i change the file to .c format and i comile it it complains about the redefinition of PFNGLACTIVETEXTUREARBPROC and something else like dat. the lines that are giving me the problem are:
PFNGLACTIVETEXTUREARBPROC glActiveTextureARB = 0;
PFNGLMULTITEXCOORD2FARBPROC glMultiTexCoord2fARB = 0;
PFNGLCLIENTACTIVETEXTUREARBPROC glClientActiveTextureARB = 0;

sorry, badly formatted. I know this ia not a GL question but a compiler question, nevertheless i NEED help please.