Compile problem with OGLES-1.1_WINDOWS_PCEMULATION

This topic contains 0 replies, has 1 voice, and was last updated by  baronban 8 years, 10 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #29703

    baronban
    Member

    If I call the opengl es function in a  file ,like test.cpp, and init the opengl es envirement in the main() file,like main.cpp, compile and link , run the exe file , nothing draw on the screen.But, if I move the same code from test.cpp to the main.cpp,everything is ok.It looks like, I can just write all the code in one cpp file . I use VS 2003 to compile my code , how can I improve this ?

Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.