From 0e4b564ef288159f16f7a6886b6cfc0110411af8 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 12 May 2015 16:40:29 +0200 Subject: egl: combine VersionMajor and VersionMinor into one variable Reviewed-by: Emil Velikov Reviewed-by: Chad Versace --- src/egl/main/egldisplay.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/egl/main/egldisplay.h') diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index bb394ec2962..bc8cc7d6319 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -153,8 +153,7 @@ struct _egl_display /* these fields are set by the driver during init */ void *DriverData; /**< Driver private data */ - EGLint VersionMajor; /**< EGL major version */ - EGLint VersionMinor; /**< EGL minor version */ + EGLint Version; /**< EGL version major*10+minor */ EGLint ClientAPIs; /**< Bitmask of APIs supported (EGL_xxx_BIT) */ _EGLExtensions Extensions; /**< Extensions supported */ -- cgit v1.2.3