Greetings,
I am porting an engine to PPC and I have just a brief question. This is in regards to the "DrawText" function.
Basicially, I'm getting an error which translates to GDERR_INVALIDRECT. I presume that this is referring to the Font RECT's correct?
Right now, I am keeping things simple so I am using the default system font for now, I have made sure that the PNG file(s) are copied to the correct directory on the emulator (the same as all my other dll's + exe).
By looking in the "watch" window, I can see that the PNG file(s) are loaded correctly as the data within the member vars look correct.
So what could be causing this error?
I've made sure that the destination surface and the destination coordinates are correct. The same with the flags and so forth.
Here's how I am calling it:
DrawText( lpbb->lx , lpbb->ly , lpItem->sText, pDefaultFont, dwFlags, NULL, 0UL, NULL )
The 'pDefaultFont' is the return variable from 'GapiDisplay::GetSystemFont().
Any ideas?