projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a47d6d
)
egl/dri2: Avoid unused static functions.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 12 May 2011 14:24:26 +0000
(15:24 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 12 May 2011 14:24:26 +0000
(15:24 +0100)
src/egl/drivers/dri2/egl_dri2.c
patch
|
blob
|
history
diff --git
a/src/egl/drivers/dri2/egl_dri2.c
b/src/egl/drivers/dri2/egl_dri2.c
index 0e1a1b52a4cb1b06ddf9874ac8bac63f87141753..d77f0ed67d14bdc7fb083eb1e40a062878204966 100644
(file)
--- a/
src/egl/drivers/dri2/egl_dri2.c
+++ b/
src/egl/drivers/dri2/egl_dri2.c
@@
-925,6
+925,7
@@
dri2_create_image_mesa_drm_buffer(_EGLDisplay *disp, _EGLContext *ctx,
return &dri2_img->base;
}
+#ifdef HAVE_WAYLAND_PLATFORM
static _EGLImage *
dri2_reference_drm_image(_EGLDisplay *disp, _EGLContext *ctx,
__DRIimage *dri_image, EGLint width, EGLint height)
@@
-951,7
+952,6
@@
dri2_reference_drm_image(_EGLDisplay *disp, _EGLContext *ctx,
attr_list);
}
-#ifdef HAVE_WAYLAND_PLATFORM
static _EGLImage *
dri2_create_image_wayland_wl_buffer(_EGLDisplay *disp, _EGLContext *ctx,
EGLClientBuffer _buffer,