mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-03-19 18:32:53 +01:00
Improving image scale quality. Removed debug print.
This commit is contained in:
@@ -49,7 +49,6 @@ void RetroFE::Render()
|
||||
{
|
||||
page->Draw();
|
||||
}
|
||||
Logger::Write(Logger::ZONE_ERROR, "Component", "DRAW");
|
||||
|
||||
SDL_RenderPresent(SDL::GetRenderer());
|
||||
SDL_UnlockMutex(SDL::GetMutex());
|
||||
|
||||
@@ -160,6 +160,11 @@ bool SDL::Initialize(Configuration &config)
|
||||
}
|
||||
}
|
||||
|
||||
if(SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "1") != SDL_TRUE)
|
||||
{
|
||||
Logger::Write(Logger::ZONE_ERROR, "SDL", "Improve scale quality. Continuing with low-quality settings.");
|
||||
}
|
||||
|
||||
if(retVal)
|
||||
{
|
||||
Mutex = SDL_CreateMutex();
|
||||
|
||||
Reference in New Issue
Block a user