Ver Fonte

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

Fixes https://github.com/libsdl-org/SDL/issues/8676

(cherry picked from commit 581d1cab257a14cd235df2192f012abb0d4e36e0)
Sam Lantinga há 1 ano atrás
pai
commit
7d94121606
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      test/testdrawchessboard.c

+ 1 - 0
test/testdrawchessboard.c

@@ -50,6 +50,7 @@ void DrawChessBoard()
             SDL_RenderFillRect(renderer, &rect);
         }
     }
+    SDL_RenderPresent(renderer);
 }
 
 void loop()