I'm getting an assertion failed on this line:
Is this supposed to happen? It doesn't complain when I make the surface width divisible by 2.
btw, you forgot to fix those 2 memory leaks (in pocketpc.cpp). I thought I made the mem leaks myself so instead of first grabbing the debugger. I went through all of my code only to find out it wasn't in my code but in the PocketFrog lib =]
- Code:
assert( ((surface->GetWidth() * sizeof(Pixel))&3)==0 );
Is this supposed to happen? It doesn't complain when I make the surface width divisible by 2.
btw, you forgot to fix those 2 memory leaks (in pocketpc.cpp). I thought I made the mem leaks myself so instead of first grabbing the debugger. I went through all of my code only to find out it wasn't in my code but in the PocketFrog lib =]