public Surface(int width, int height, int depth, long rMask, long gMask, long bMask, long aMask) { SurfacePtr = SDL.CreateRgbSurface(0, width, height, depth, (uint)rMask, (uint)gMask, (uint)bMask, (uint)aMask); Util.ThrowIfFailed(SurfacePtr); }