Help, new to OpenGL
Hi, I''ve just started learning OpenGL, after succesfully coding the first tutorial, I tried out the snippet of code that lets you switch from fullscreen to windowed by pressing F1. When I pushed F1, however, the program crashed on me.
I''m using Dev-C++ and just wanted to know if this has happened to anyone else?
I use Dev-C++ and I have had no trouble running fullscreen, although some of the later ones require some slight alterations. You probably missed a line of code somewhere.
Slade started a topic named "Dev C++ user needs help" on December 6th. Read it if you think it will help.
Edited by - smart_idiot on December 18, 2000 3:03:26 PM
Slade started a topic named "Dev C++ user needs help" on December 6th. Read it if you think it will help.
Edited by - smart_idiot on December 18, 2000 3:03:26 PM
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
That''s what I thought at first, that it was my code. However I couldn''t find anything wrong with it. So I followed the link at the bottom of the tutorial to the site that has the mingw conversions. I downloaded the tutorial from there and ran their exe and still ended up with the same results.
December 19, 2000 11:39 AM
The headers that come with Dev-C++ don''t define CDS_FULLSCREEN which should be 4. You should not have even been able to compile the program to use full screen. That does not mean that full screen wouldn''t work. It means it shouldn''t have compiled period, meaning should not have been able to run it. Hmmm. If you are using the visual c++ version of the code, which I am, I don''t know what is wrong. Email me your project and I''ll try to figure it out for you. Don''t post it here because I can''t see the project options. If it works on my computer, we can just blame the hardware. If you don''t know how to find my address, it''s ''smart_idiot@mail.com''. It''s very straight forward
"just wanted to know if this has happened to anyone else"
Of course if all you wanted to know is if it happend to someone else, and not how to fix it, don''t bother.
"just wanted to know if this has happened to anyone else"
Of course if all you wanted to know is if it happend to someone else, and not how to fix it, don''t bother.
Opps. I forgot my name. I think we are in very different time zones. I was sleeping when you posted that. I''ll just expect a late reply.
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement