The fourth parameter depth can't be NULL. Try changing it to 32. The function is declared as: SDL_Surface* SDL_CreateRGBSurface(Uint32 flags, int width, ...
確定! 回上一頁