projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffae54e
)
egl: remove duplicate ARRAY_SIZE() macro declaration
author
Brian Paul
<brianp@vmware.com>
Fri, 14 May 2010 16:54:59 +0000
(10:54 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 14 May 2010 16:55:19 +0000
(10:55 -0600)
src/egl/drivers/glx/egl_glx.c
patch
|
blob
|
history
diff --git
a/src/egl/drivers/glx/egl_glx.c
b/src/egl/drivers/glx/egl_glx.c
index 3cbfebe4881cd61e1211aa3266e553dd299c0b8f..e08ef5f2228111f3d387190b2be41f193bd7c322 100644
(file)
--- 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"