public void Load(string fileName, short sizePoints) { internalPointer = SdlTtf.TTF_OpenFont(fileName, sizePoints); if (internalPointer == IntPtr.Zero) { SdlHardware.FatalError("Font not found: " + fileName); } }
public void Load(string fileName) { internalPointer = SdlImage.IMG_Load(fileName); if (internalPointer == IntPtr.Zero) { SdlHardware.FatalError("Image not found: " + fileName); } }