SDL_SetVideoMode函数
SDL_SetVideoMode函数:设置显示卡的显示模式:宽度、高度和像素的位数。定义:#include "SDL.h"SDL_Surface *SDL_SetVideoMode(int width, int height, int bpp, Uint32 flags);例子:#include "SDL.h" const int WINDOW_WIDTH = 640;const i