PocketMatrix forums

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

CreateSurface shows an error message instead of returning it

I just upgraded to 2.8 from 2.6, did a rebuild all and now I get a message box popping up that says nothing but "Information" in the title and "2" as the message.

I've tracked it down to this line:

Code:
if (game->ecd->dsp->CreateSurface(&game-;>font, filedata, filedatasize) != E_OK)


It appears that this message box is coming from inside the CreateSurface function! It executes that line of code and gives the message box before hitting either the next statement after the "if" or the "else".

Looks like its trying to throw an out of memory error (2) but is displaying it rather than returning the error value.

HELP!
Hi Jeffer,

It's a bug in the GIF loader due to the changed loader system in the Edge 2.80 release. I recommend converting the font to PNG format and it should work correctly.

The bug will be fixed in the next release.