Fixing renderer width/height size to prevent warnings
@@ -32,7 +32,7 @@ WINDOW_resize(WrenVM* vm) {
// Window may not have resized to the specified value because of
// desktop restraints, but SDL doesn't check this.
// We can fetch the final display size from the renderer output.
- uint32_t newWidth, newHeight;
+ int32_t newWidth, newHeight;
SDL_GetRendererOutputSize(engine->renderer, &newWidth, &newHeight);
SDL_SetWindowSize(engine->window, newWidth, newHeight);
}
