Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53513
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
switch (ctx->ClientAPI) {
case EGL_OPENGL_ES_API:
- switch (ctx->ClientVersion) {
+ switch (ctx->ClientMajorVersion) {
case 1:
api = ST_API_OPENGL;
*profile = ST_PROFILE_OPENGL_ES1;
*profile = ST_PROFILE_OPENGL_ES2;
break;
default:
- _eglLog(_EGL_WARNING, "unknown client version %d",
- ctx->ClientVersion);
+ _eglLog(_EGL_WARNING, "unknown client major version %d",
+ ctx->ClientMajorVersion);
break;
}
break;