diff --git a/src/sdl/window.cpp b/src/sdl/window.cpp index e5bac1e8bce60..448ec15c63a4c 100644 --- a/src/sdl/window.cpp +++ b/src/sdl/window.cpp @@ -57,6 +57,9 @@ window::window(const std::string& title, // Use linear scaling when rendering, if applicable. SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear"); + // Enable 3D rendering for the window surface. Not sure if this really does anything. + SDL_SetHint(SDL_HINT_FRAMEBUFFER_ACCELERATION, "1"); + pixel_format_ = info.texture_formats[0]; fill(0,0,0);