mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-25 13:55:36 -04:00
fix upscale texture inconsistencies (now it should match Choco/Crispy)
This commit is contained in:
parent
23edf7ef4c
commit
590d410b13
@ -230,8 +230,8 @@ static void HandleWindowEvent(SDL_WindowEvent *event)
|
||||
{
|
||||
SDL_GetWindowSize(screen, &window_width, &window_height);
|
||||
SDL_GetWindowPosition(screen, &window_x, &window_y);
|
||||
need_resize = true;
|
||||
}
|
||||
need_resize = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
@ -965,7 +965,7 @@ static void CreateUpscaledTexture(boolean force)
|
||||
{
|
||||
// Tall window.
|
||||
|
||||
h = w * actualheight / screen_height;
|
||||
h = w * actualheight / screen_width;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user