Mask compared bits in atomic operation tests. am: b2ed9fbe1a am: e37b18673d am: 97ce4...
[platform/upstream/VK-GL-CTS.git] / modules / egl / teglCreateContextExtTests.cpp
index 5153b41..c25a6a3 100644 (file)
@@ -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)