From 0ef97d1d8255eea27a3191e3295b7ece83e13807 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mika=20Isoj=C3=A4rvi?= Date: Thu, 10 Mar 2016 14:03:42 -0800 Subject: [PATCH] Query profile mask to correct variable in context test Bug: 27570797 Change-Id: I409977c31e81baebf3d165d1246660944a9d81c1 --- modules/egl/teglCreateContextExtTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/egl/teglCreateContextExtTests.cpp b/modules/egl/teglCreateContextExtTests.cpp index 5153b41..c25a6a3 100644 --- a/modules/egl/teglCreateContextExtTests.cpp +++ b/modules/egl/teglCreateContextExtTests.cpp @@ -790,7 +790,7 @@ bool CreateContextExtCase::validateCurrentContext (const glw::Functions& gl) { deInt32 profileMaskGL = 0; - gl.getIntegerv(GL_CONTEXT_PROFILE_MASK, &profileMask); + gl.getIntegerv(GL_CONTEXT_PROFILE_MASK, &profileMaskGL); GLU_EXPECT_NO_ERROR(gl.getError(), "glGetIntegerv()"); if (profileMask != profileMaskGL) -- 2.7.4