From 1a6e2d514cc946e25acba7820b7f8682cb34ccf4 Mon Sep 17 00:00:00 2001 From: Andreas Boll Date: Wed, 15 Aug 2012 10:27:06 +0200 Subject: [PATCH] st/egl: rename ClientVersion to ClientMajorVersion This patch fixes the build error introduced in 3fd79dd9886f05f45f3dc94c028a38dd75b8ee1b Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53513 --- .../state_trackers/egl/common/egl_g3d_api.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/egl/common/egl_g3d_api.c b/src/gallium/state_trackers/egl/common/egl_g3d_api.c index aaf7b10..30793fa 100644 --- a/src/gallium/state_trackers/egl/common/egl_g3d_api.c +++ b/src/gallium/state_trackers/egl/common/egl_g3d_api.c @@ -53,7 +53,7 @@ egl_g3d_choose_st(_EGLDriver *drv, _EGLContext *ctx, 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; @@ -64,7 +64,7 @@ egl_g3d_choose_st(_EGLDriver *drv, _EGLContext *ctx, break; default: _eglLog(_EGL_WARNING, "unknown client version %d", - ctx->ClientVersion); + ctx->ClientMajorVersion); break; } break; -- 1.7.4.1