mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 10:15:05 +01:00
Improving image scale quality. Removed debug print.
This commit is contained in:
parent
054688cec6
commit
0886df7776
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user