diff options
author | Brian Paul <brianp@vmware.com> | 2010-05-14 10:54:59 -0600 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-05-14 15:04:25 -0400 |
commit | cf83f0b8123f34724ade81d519eaa785800f2037 (patch) | |
tree | 89342a5c877fcc5745b4b412edd33f8dd4b25d3e | |
parent | 407ef9b5cc2f1b5d3eaa7fec6f0cd18ff39c0f33 (diff) |
egl: remove duplicate ARRAY_SIZE() macro declaration
-rw-r--r-- | src/egl/drivers/glx/egl_glx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/glx/egl_glx.c b/src/egl/drivers/glx/egl_glx.c index 3cbfebe488..e08ef5f222 100644 --- a/src/egl/drivers/glx/egl_glx.c +++ b/src/egl/drivers/glx/egl_glx.c @@ -41,6 +41,7 @@ #include "eglconfigutil.h" #include "eglconfig.h" #include "eglcontext.h" +#include "egldefines.h" #include "egldisplay.h" #include "egldriver.h" #include "eglcurrent.h" @@ -48,7 +49,6 @@ #include "eglsurface.h" #define CALLOC_STRUCT(T) (struct T *) calloc(1, sizeof(struct T)) -#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) #ifndef GLX_VERSION_1_4 #error "GL/glx.h must be equal to or greater than GLX 1.4" |