TTF_Init() private method

private TTF_Init ( ) : int
return int
Example #1
0
 public void Init()
 {
     this.Quit();
     SdlTtf.TTF_Init();
     Sdl.SDL_Init(Sdl.SDL_INIT_EVERYTHING);
     flags     = (Sdl.SDL_HWSURFACE | Sdl.SDL_DOUBLEBUF | Sdl.SDL_ANYFORMAT);
     bpp       = 16;
     width     = 640;
     height    = 480;
     sleepTime = 500;
     //surfacePtr = IntPtr.Zero;
     //Sdl.SDL_FreeSurfaceInternal(surfacePtr);
 }