Greets,
I ported my game to Gapi 1.02 and for some reason my font bitmaps are no longer working. So I wrote a little test program using the font file included in \GDFonts and again, same deal, reports invalid bitmap.
I'm at a loss as to what's happening. I'm using the file /GDFonts/SampleFont.png with the following code.
Additionally, on the PPC the CreateSurface call fails as well. I have the png placed at the system root so I don't understand why it's not loading now. The error reported is that it can't find the file. Does GapiDraw 1.02 tack on the exe's path?
Thanks for any help with this,
-Lucas "Hosed" Goodwin
I ported my game to Gapi 1.02 and for some reason my font bitmaps are no longer working. So I wrote a little test program using the font file included in \GDFonts and again, same deal, reports invalid bitmap.
I'm at a loss as to what's happening. I'm using the file /GDFonts/SampleFont.png with the following code.
- Code:
//Create Font
g_Font.CreateSurface( TEXT("SampleFont.png") );
//Initialize Font
g_Font.CreateFont( NULL, NULL );
Additionally, on the PPC the CreateSurface call fails as well. I have the png placed at the system root so I don't understand why it's not loading now. The error reported is that it can't find the file. Does GapiDraw 1.02 tack on the exe's path?
Thanks for any help with this,
-Lucas "Hosed" Goodwin