SDL_UnlockSurface(surf); } void Surface:: clearScreen(void) { SDL_PixelFormat *fmt = surf->format; Uint32 c = SDL_MapRGB( fmt, 255, 255, 255 ); //white ...
確定! 回上一頁