mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
workaround for older ati drivers
This commit is contained in:
@ -451,6 +451,11 @@ Renderer::Renderer()
|
|||||||
glBlendColor(0, 0, 0, 0.5f);
|
glBlendColor(0, 0, 0, 0.5f);
|
||||||
glClearDepth(1.0f);
|
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();
|
UpdateActiveConfig();
|
||||||
|
|
||||||
//return GL_REPORT_ERROR() == GL_NO_ERROR && bSuccess;
|
//return GL_REPORT_ERROR() == GL_NO_ERROR && bSuccess;
|
||||||
|
Reference in New Issue
Block a user