Big OpenGL problem
I have a big question relating to OpenGL in Dev-C++ for Windows. For some reason the compiler always places a syntax error at the line "if (ChangeDisplaySettings(&dmScreenSettings,CDS_FULLSCREEN)!=DISP_CHANGE_SUCCESSFUL)", pointing to CDS_FULLSCREEN as the problem. Anyone else have this problem? The compiler keeps saying that it''s undeclared. Any help on this?
Mr Bugg
If you had done a search, I think you would have found the answer to this easily (it is pretty common). The Win32 headers that come with Dev C++ are missing the definition of CDS_FULLSCREEN. Put #define CDS_FULLSCREEN 4 at the top of your file, or in the Win32 header winuser.h.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement