From e084fe54f93c9d51df99812b76d3299b0cff57a3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 28 May 2008 15:22:17 -0600 Subject: egl: include egldefines.h --- src/egl/main/egldriver.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/egl/main/egldriver.h') diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index 9c505880b7a..67cfb02f46a 100644 --- a/src/egl/main/egldriver.h +++ b/src/egl/main/egldriver.h @@ -4,9 +4,7 @@ #include "egltypedefs.h" #include "eglapi.h" - -/* should probably use a dynamic-length string, but this will do */ -#define MAX_EXTENSIONS_LEN 1000 +#include "egldefines.h" /** @@ -17,7 +15,7 @@ struct _egl_extensions EGLBoolean MESA_screen_surface; EGLBoolean MESA_copy_context; - char String[MAX_EXTENSIONS_LEN]; + char String[_EGL_MAX_EXTENSIONS_LEN]; }; -- cgit v1.2.3