Weird SDL problem.
So I'm programming along, and all of a sudden, some of my data structures are getting corrupted. So I run it step by step in the debugger to find where things are going awry. I finally tracked it down to a call to SDL_PollEvent().
????
It doesn't scramble it, or crash the program, just writes the same corrupt data in each time. Any possible ideas of what this might be? I can't possibly be getting overlaping memory sections between restarts and everything eles, can I?
I'd post source code, but I don't know where to start. The functions are completely unrelated. I'm even still using the example SDL event handling and initialization code.
????
It doesn't scramble it, or crash the program, just writes the same corrupt data in each time. Any possible ideas of what this might be? I can't possibly be getting overlaping memory sections between restarts and everything eles, can I?
I'd post source code, but I don't know where to start. The functions are completely unrelated. I'm even still using the example SDL event handling and initialization code.
Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
| Messages In This Thread |
|
Weird SDL problem. - Skorche - Jan 19, 2004 03:29 AM
Weird SDL problem. - OneSadCookie - Jan 19, 2004, 04:26 AM
Weird SDL problem. - IBethune - Jan 19, 2004, 07:04 AM
Weird SDL problem. - Skorche - Jan 19, 2004, 12:51 PM
|
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Weird problem in xcode SDL | skrew | 3 | 3,058 |
May 27, 2006 08:43 AM Last Post: Greywhind |
|
| Weird framerate problem | Jesse | 4 | 2,741 |
Sep 1, 2003 01:01 AM Last Post: Jesse |
|
| Weird OpenGL texture problem | DoG | 27 | 8,447 |
May 2, 2003 07:01 PM Last Post: henryj |
|
| Weird driver problem! | Dracir | 2 | 2,489 |
Jul 9, 2002 06:38 AM Last Post: kainsin |
|
| Weird GLUT problem | Dracir | 1 | 3,087 |
Jun 28, 2002 01:57 PM Last Post: OneSadCookie |
|

