Browse Source

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

Fixes https://github.com/libsdl-org/SDL/issues/8676
Sam Lantinga 1 year ago
parent
commit
581d1cab25
1 changed files with 1 additions and 0 deletions
  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)
 static void loop(void)