From 538085c5d423df4fed3c3b2c473c3684f7b08db6 Mon Sep 17 00:00:00 2001 From: Michel Dänzer Date: Wed, 15 Aug 2012 10:49:22 +0200 Subject: st/egl: Fix up for ClientVersion -> ClientMajorVersion rename. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53513 Signed-off-by: Michel Dänzer --- src/gallium/state_trackers/egl/common/egl_g3d_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/state_trackers/egl') 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 aaf7b10b1c7..641e0b605a2 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; @@ -63,8 +63,8 @@ egl_g3d_choose_st(_EGLDriver *drv, _EGLContext *ctx, *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; -- cgit v1.2.3