mirror of
https://github.com/love2d/megasource.git
synced 2026-08-19 20:20:11 +02:00
update SDL3 to 3.2.6.
This commit is contained in:
@@ -85,7 +85,7 @@ static void DrawOnViewport(SDL_Renderer *renderer)
|
||||
/* Add a box at the top */
|
||||
rect.w = 8.0f;
|
||||
rect.h = 8.0f;
|
||||
rect.x = (float)((viewport.w - rect.w) / 2);
|
||||
rect.x = (viewport.w - rect.w) / 2;
|
||||
rect.y = 0.0f;
|
||||
SDL_RenderFillRect(renderer, &rect);
|
||||
|
||||
@@ -227,7 +227,7 @@ int main(int argc, char *argv[])
|
||||
now = SDL_GetTicks();
|
||||
if (now > then) {
|
||||
double fps = ((double)frames * 1000) / (now - then);
|
||||
SDL_Log("%2.2f frames per second\n", fps);
|
||||
SDL_Log("%2.2f frames per second", fps);
|
||||
}
|
||||
quit(0);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user