mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Cleanup Renderer::CalculateTargetSize(), and allow IRs higher than 4x to be set via ini.
This commit is contained in:
@ -1904,4 +1904,11 @@ bool Renderer::SaveScreenshot(const std::string &filename, const TargetRectangle
|
||||
|
||||
}
|
||||
|
||||
int Renderer::GetMaxTextureSize()
|
||||
{
|
||||
int max_size;
|
||||
glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max_size);
|
||||
return max_size;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user