The value of ESP was not properly saved across a function call.
🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Debug Error!!!
Why does this create a debug error???:::
if (lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP)!=DD_OK)
MessageBox(main_window_handle, "Unable to set display mode 640x480x16", "Error", MB_OK);
first off try
FAILED(lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP))
instead of
lpdd4->SetDisplayMode(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_BPP)!=DD_OK
You might have a non-fatal warning, anyway its good practice
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement