PDA

View Full Version : CDS_FULLSCREEN



lost-
08-05-2002, 10:02 AM
What the hell is it, when I compile source code that has it in in eith Visual C++, or Dev C++ I get a "function UNDECLARED" error.

When I remove the line containing CDS_FULLSCREEN, the code works. Could it be my version of OpenGL?


Please help!

08-05-2002, 10:12 AM
CDS_FULLSCREEN is not a function, silly. What function call gets it in an uproar?

nexusone
08-05-2002, 10:32 AM
I could also be the version of the compiler you are using.

I think nehe tutors for VC++ are for version 6+.

I check nehe site:

Here it is and it is stated on the nehe tutor that this may not be defind in some compilers and these lines are added.

#ifndef CDS_FULLSCREEN // CDS_FULLSCREEN Is Not Defined By Some
#define CDS_FULLSCREEN 4 // Compilers. By Defining It This Way,
#endif



Originally posted by lost-:
What the hell is it, when I compile source code that has it in in eith Visual C++, or Dev C++ I get a "function UNDECLARED" error.

When I remove the line containing CDS_FULLSCREEN, the code works. Could it be my version of OpenGL?


Please help!



[This message has been edited by nexusone (edited 08-05-2002).]