Jump to content
  • Advertisement
Sign in to follow this  
EmrldDrgn

Numpad 3 and 4 causing heap corruption

This topic is 3727 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm developing a multi-platform game, currently developing under one Win32 and one SDL backend, although I'll probably add native support for other platforms eventually. For some reason, pressing 3 on the numpad makes my little graphics test disappear (i.e. turn white), while pressing 4 makes only the alpha part go white. Then, holding 3 makes the non-alpha part appear, and disappear when 3 is released. This happens under either backend. I've never noticed this before, but admittedly I haven't been paying much attention to keyboard input before now. The program then crashes on close, due to a heap corruption according to the debugger. Also, sporadically, when I break the picture and then switch to fullscreen, the app will crash because my window pointer is null. Other times, switching will fix the problem. Now, the graphics test is in no way tied into input (not that far yet), so I do not see how this can be happening. Does anyone have any ideas what's going on? Help is much appreciated. [Edited by - EmrldDrgn on March 14, 2008 8:46:30 AM]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!