From e5a1fc4f20f9daca17a2f76ffe217b1128625d0b Mon Sep 17 00:00:00 2001 From: Dave Green <34277803+SoloByte@users.noreply.github.com> Date: Sat, 27 Jul 2024 20:19:05 +0200 Subject: [PATCH] No longer set the RL_TEXTURE_FILTER_LINEAR when high dpi flag is enabled. (#4189) --- src/rcore.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/rcore.c b/src/rcore.c index fb71da0f62e3..af310cfad05c 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -668,15 +668,7 @@ void InitWindow(int width, int height, const char *title) SetShapesTexture(texture, (Rectangle){ 0.0f, 0.0f, 1.0f, 1.0f }); // WARNING: Module required: rshapes #endif #endif -#if defined(SUPPORT_MODULE_RTEXT) && defined(SUPPORT_DEFAULT_FONT) - if ((CORE.Window.flags & FLAG_WINDOW_HIGHDPI) > 0) - { - // Set default font texture filter for HighDPI (blurry) - // RL_TEXTURE_FILTER_LINEAR - tex filter: BILINEAR, no mipmaps - rlTextureParameters(GetFontDefault().texture.id, RL_TEXTURE_MIN_FILTER, RL_TEXTURE_FILTER_LINEAR); - rlTextureParameters(GetFontDefault().texture.id, RL_TEXTURE_MAG_FILTER, RL_TEXTURE_FILTER_LINEAR); - } -#endif + CORE.Time.frameCounter = 0; CORE.Window.shouldClose = false;