فهرست منبع

You should call present when using a software renderer as well.

Fixes https://github.com/libsdl-org/SDL/issues/8676
Sam Lantinga 1 سال پیش
والد
کامیت
581d1cab25
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      test/testdrawchessboard.c

+ 1 - 0
test/testdrawchessboard.c

@@ -57,6 +57,7 @@ static void DrawChessBoard(void)
             }
         }
     }
+    SDL_RenderPresent(renderer);
 }
 
 static void loop(void)