diff --git a/src/single_window/render.cpp b/src/single_window/render.cpp index 8f8106c..eb2186e 100644 --- a/src/single_window/render.cpp +++ b/src/single_window/render.cpp @@ -313,7 +313,11 @@ int Render::Run() { return -1; } - // Create main window with SDL_Renderer graphics context + // use linear filtering to render textures otherwise the graphics will be + // blurry + SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1"); + + // create main window with SDL_Renderer graphics context SDL_WindowFlags window_flags = (SDL_WindowFlags)(SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_BORDERLESS); main_window_ = SDL_CreateWindow( diff --git a/thirdparty/projectx b/thirdparty/projectx index a8333c6..bbd05bc 160000 --- a/thirdparty/projectx +++ b/thirdparty/projectx @@ -1 +1 @@ -Subproject commit a8333c622b953c1b1b0705ad3928280cd2681248 +Subproject commit bbd05bcb8dad934834a3cd51b1af673ade52679b