glActiveTexture should set GL_INVALID_ENUM when taking wrong input

The GL spec says it generates GL_INVALID_ENUM if taking a wrong input.
Currently it generates GL_INVALID_OPERATION which is not the expected
error code.

Change-Id: I3313ad49130651d0358dbd3bdeb67b7e2d4fd5d9
diff --git a/shared/OpenglCodecCommon/GLClientState.cpp b/shared/OpenglCodecCommon/GLClientState.cpp
index a0c4fc1..57637ae 100644
--- a/shared/OpenglCodecCommon/GLClientState.cpp
+++ b/shared/OpenglCodecCommon/GLClientState.cpp
@@ -247,7 +247,7 @@
 {
     GLuint unit = texture - GL_TEXTURE0;
     if (unit >= MAX_TEXTURE_UNITS) {
-        return GL_INVALID_OPERATION;
+        return GL_INVALID_ENUM;
     }
     m_tex.activeUnit = &m_tex.unit[unit];
     return GL_NO_ERROR;