提交 99b913c2 编写于 作者: S Simon Fels

Correctly compare name against GL version

上级 636c04dd
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册