Orzech
08-20-2004, 04:37 AM
Hello everyone
I have a problem which is very very annoying for me. It's first time something like this happens - I am powerless in this case. Let's get to the point... My application initializes, OpenGL configuration is done, I have my drawing context, window handle etc... No error messages appear (a kind of NeHe's window creation). glGetError() returns GL_NO_ERROR. The whole program WORKS, sound is on, input is working, main loop interates and so on. The question is - why don't any of GL commands work? Only thing I see is my desktop resized to window's resolution and nothing more. I can't even call glClear(). It seems like some stupid mistake. Although, I used the same initialization code for other apps and it worked pretty fine. Do you have any ideas? Please help me before I harm myself ;)
Thanks in advance! :)
I have a problem which is very very annoying for me. It's first time something like this happens - I am powerless in this case. Let's get to the point... My application initializes, OpenGL configuration is done, I have my drawing context, window handle etc... No error messages appear (a kind of NeHe's window creation). glGetError() returns GL_NO_ERROR. The whole program WORKS, sound is on, input is working, main loop interates and so on. The question is - why don't any of GL commands work? Only thing I see is my desktop resized to window's resolution and nothing more. I can't even call glClear(). It seems like some stupid mistake. Although, I used the same initialization code for other apps and it worked pretty fine. Do you have any ideas? Please help me before I harm myself ;)
Thanks in advance! :)