mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
workaround for older ati drivers
This commit is contained in:
@@ -450,6 +450,11 @@ Renderer::Renderer()
|
||||
glScissor(0, 0, GetTargetWidth(), GetTargetHeight());
|
||||
glBlendColor(0, 0, 0, 0.5f);
|
||||
glClearDepth(1.0f);
|
||||
|
||||
// this is a hack to work around an ati driver issue.
|
||||
// usually this shouldn't be needed (and isn't allowed in core)
|
||||
// but else glGenerateMipmaps wouldn't work always
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
|
||||
UpdateActiveConfig();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user