Wei Mingzhi 12 年之前
父节点
当前提交
5b08f14671
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      video.c

+ 2 - 1
video.c

@@ -87,7 +87,8 @@ VIDEO_Init(
    // Before we can render anything, we need a window and a renderer.
    // Before we can render anything, we need a window and a renderer.
    //
    //
    gpWindow = SDL_CreateWindow("SDL_RenderCopy Example",
    gpWindow = SDL_CreateWindow("SDL_RenderCopy Example",
-      SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 480, SDL_WINDOW_SHOWN);
+      SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, 640, 400,
+      SDL_WINDOW_SHOWN | SDL_WINDOW_RESIZABLE);
 
 
    if (gpWindow == NULL)
    if (gpWindow == NULL)
    {
    {