summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-03-19 01:36:08 +0000
committerEmil Velikov <[email protected]>2015-03-21 17:22:19 +0000
commitbbaf22a998f89eb720a3995fa2216512deed5f76 (patch)
tree5a078bc8dfe51c87f3ca22216bcdbbcc63a5c4c0 /src/egl
parent0bff196b225be13f91ec34da06093a13a9ed425b (diff)
egl: cut down static storage size for {Version,ClientAPI}String
Both seems to be excessively long, namely: ClientAPIString can get up-to 47 based on current code, while the name of the driver can dictate the length of the VersionString, currently it is around 11. Let's pad each to 100, rather than the current 1000. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/egldisplay.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h
index f8782f917c0..d7f5dbacde6 100644
--- a/src/egl/main/egldisplay.h
+++ b/src/egl/main/egldisplay.h
@@ -153,8 +153,8 @@ struct _egl_display
_EGLExtensions Extensions; /**< Extensions supported */
/* these fields are derived from above */
- char VersionString[1000]; /**< EGL_VERSION */
- char ClientAPIsString[1000]; /**< EGL_CLIENT_APIS */
+ char VersionString[100]; /**< EGL_VERSION */
+ char ClientAPIsString[100]; /**< EGL_CLIENT_APIS */
char ExtensionsString[_EGL_MAX_EXTENSIONS_LEN]; /**< EGL_EXTENSIONS */
_EGLArray *Screens;