flags不是SDL_CreateRenderer绝对的;如果提示说使用 direct3d 或 opengl,您的提示SDL_RENDERER_SOFTWARE将被忽略。SDL_CreateSoftwareRenderer始终是软件。
I encountered the following error when attempting to use the software renderer to render a window with a solid color and resizing the window. Running the snake example and resizing the window also causes the same error. Using the GL or v...