From 99b913c27329491e90e168195387fc2f17f731c7 Mon Sep 17 00:00:00 2001 From: Simon Fels Date: Thu, 29 Sep 2016 07:56:32 +0200 Subject: [PATCH] Correctly compare name against GL version --- .../android-emugl/host/libs/libOpenglRender/RenderControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/android-emugl/host/libs/libOpenglRender/RenderControl.cpp b/external/android-emugl/host/libs/libOpenglRender/RenderControl.cpp index 1b9632b..bdeacab 100644 --- a/external/android-emugl/host/libs/libOpenglRender/RenderControl.cpp +++ b/external/android-emugl/host/libs/libOpenglRender/RenderControl.cpp @@ -88,7 +88,7 @@ static EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) len += strlen(glProtocolStr) + 1; } - if (name = GL_VERSION) { + if (name == GL_VERSION) { // We're forcing version 2.0 no matter what the host provides as // our emulation layer isn't prepared for anything newer (yet). // This goes in parallel with filtering the extension set for