diff options
author | Ian Romanick <[email protected]> | 2012-07-18 15:59:15 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2012-08-14 15:41:03 -0700 |
commit | 3fd79dd9886f05f45f3dc94c028a38dd75b8ee1b (patch) | |
tree | 705dc0f323fa4635da5f59bf01d8389b4c2f61f9 /src/egl/drivers | |
parent | ce55741cbc0837338b73f9112ab4d84363ebaee1 (diff) |
egl: Rename ClientVersion to ClientMajorVersion, add ClientMinorVersion
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 3bf46aa2185..4cd2d138020 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -654,7 +654,7 @@ dri2_create_context(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, switch (dri2_ctx->base.ClientAPI) { case EGL_OPENGL_ES_API: - switch (dri2_ctx->base.ClientVersion) { + switch (dri2_ctx->base.ClientMajorVersion) { case 1: api = __DRI_API_GLES; break; @@ -701,7 +701,7 @@ dri2_create_context(_EGLDriver *drv, _EGLDisplay *disp, _EGLConfig *conf, unsigned error; const uint32_t ctx_attribs[2] = { __DRI_CTX_ATTRIB_MAJOR_VERSION, - dri2_ctx->base.ClientVersion + dri2_ctx->base.ClientMajorVersion }; dri2_ctx->dri_context = |