PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

WM 5.0 CreateSurface return out of memory

If i build with the ppc2003 libraries, I can run fine on any device, however if i build with the WM 5.0 libraries (sp or ppc) i get out of memory errors the first time i try to createSurface.

I do need to build with WM 5.0 libraries.

Also works fine on win32 and I know for sure I'm not really out of memory.

Any ideas?
I think this problem is only seen on hi resolution devices. It just cant create surfaces. However the gapidraw samples seems to work ok. And I'm not using any of the quarter size stuff. And of course my app worked great with GD 3.6

hmmm...I should investigate more but if you have any ideas, i would be happy to hear them.

Thanks again!
Hello!

Very odd. Do you use any flags to CreateSurface, or is it just CreateSurface(NULL, ...)?

Do the samples shipped with 4.2 work properly on your device?

Sincerely
Johan