diff options
author | Marek Olšák <marek.olsak@amd.com> | 2015-05-11 22:16:52 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2015-06-05 19:44:33 +0200 |
commit | efda9c56491f5cb90e77f5fe7979477fc9b2b529 (patch) | |
tree | 3d53362bbfcc67e389e0c2f9eb2b0c4f0c9cfcf6 /src/egl/drivers/dri2/platform_x11.c | |
parent | 3a83adeb7c6340104e9417beefc086f7d33183bc (diff) | |
download | external_mesa3d-efda9c56491f5cb90e77f5fe7979477fc9b2b529.zip external_mesa3d-efda9c56491f5cb90e77f5fe7979477fc9b2b529.tar.gz external_mesa3d-efda9c56491f5cb90e77f5fe7979477fc9b2b529.tar.bz2 |
egl: set the EGL version in common code
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'src/egl/drivers/dri2/platform_x11.c')
-rw-r--r-- | src/egl/drivers/dri2/platform_x11.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index 300072d..e0d0fdc 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -1129,10 +1129,6 @@ dri2_initialize_x11_swrast(_EGLDriver *drv, _EGLDisplay *disp) goto cleanup_configs; } - /* we're supporting EGL 1.4 */ - disp->VersionMajor = 1; - disp->VersionMinor = 4; - /* Fill vtbl last to prevent accidentally calling virtual function during * initialization. */ @@ -1303,10 +1299,6 @@ dri2_initialize_x11_dri2(_EGLDriver *drv, _EGLDisplay *disp) goto cleanup_configs; } - /* we're supporting EGL 1.4 */ - disp->VersionMajor = 1; - disp->VersionMinor = 4; - /* Fill vtbl last to prevent accidentally calling virtual function during * initialization. */ |