Hi,
I'm a noob
C++ / GapiDraw programmer, and I'm having a problem with my game briefly displaying an exception error on exit.
The code that is causing it is a bmp loaded into a surface, the bmp is 240*90 pixels and blits ok in the game, but the error on exit doesn't occur if I..
1) remove the bmp,
2) make it smaller, say 120*30.
I have other images working fine, but none as big as this one so I am assuming it has something to do with the size?
Here is the code...
Hope someone can give me some guidance.
Tone.
PS GapiDraw ROX
I'm a noob
The code that is causing it is a bmp loaded into a surface, the bmp is 240*90 pixels and blits ok in the game, but the error on exit doesn't occur if I..
1) remove the bmp,
2) make it smaller, say 120*30.
I have other images working fine, but none as big as this one so I am assuming it has something to do with the size?
Here is the code...
- Code:
CGapiSurface BackSprite;
BackSprite.CreateSurface(NULL, TEXT("\\projects\\game\\back.bmp"));
Hope someone can give me some guidance.
Tone.
PS GapiDraw ROX