Parcourir la source

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

Fixes https://github.com/libsdl-org/SDL/issues/8676
Sam Lantinga il y a 2 ans
Parent
commit
581d1cab25
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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)