Pictures between my Levels
Hello,
id like to have pictures between my levels, and try that with the following code:
if(Level)//Begin of the next level
{
Sleep(500);
if(Blit_All(lpDDSBack,lpDDSBildeins,FALSE)==FALSE)
return Error("tell something ect.
Sleep(500);
if(FAILED(lpDDSBildeins->ReleaseDC(hDC)))
return Error("tell something
lpDDSBildeins=NULL;
Sleep(50);
}
So now every time when this function is called, the damn programm exits itself.
Has anyone an idea what I´ve made wrong?
Near the end, you are releasing a DC, but you should no get a DC if you are blitting.
---
Make it work.
Make it right.
Make it fast.
---
Make it work.
Make it right.
Make it fast.
"None of us learn in a vacuum; we all stand on the shoulders of giants such as Wirth and Knuth and thousands of others. Lend your shoulders to building the future!" - Michael Abrash[JavaGaming.org][The Java Tutorial][Slick][LWJGL][LWJGL Tutorials for NeHe][LWJGL Wiki][jMonkey Engine]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement