Page 1 of 1

WM 5.0 CreateSurface return out of memory

PostPosted: Aug 27, 2009 @ 10:00pm
by eugraphics
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?

PostPosted: Aug 28, 2009 @ 1:38am
by eugraphics
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!

PostPosted: Sep 10, 2009 @ 4:01pm
by Johan
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