Improving image scale quality. Removed debug print.

This commit is contained in:
emb 2015-01-02 10:41:23 -06:00
parent 054688cec6
commit 0886df7776
2 changed files with 5 additions and 1 deletions

View File

@ -49,7 +49,6 @@ void RetroFE::Render()
{
page->Draw();
}
Logger::Write(Logger::ZONE_ERROR, "Component", "DRAW");
SDL_RenderPresent(SDL::GetRenderer());
SDL_UnlockMutex(SDL::GetMutex());

View File

@ -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();