From: Michel Dänzer Date: Wed, 15 Aug 2012 08:49:22 +0000 (+0200) Subject: st/egl: Fix up for ClientVersion -> ClientMajorVersion rename. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=538085c5d423df4fed3c3b2c473c3684f7b08db6;p=mesa.git st/egl: Fix up for ClientVersion -> ClientMajorVersion rename. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53513 Signed-off-by: Michel Dänzer --- 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;