projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
egl/x11_dri3: implement EGL_KHR_swap_buffers_with_damage
[mesa.git]
/
src
/
glx
/
dri_common.h
diff --git
a/src/glx/dri_common.h
b/src/glx/dri_common.h
index 1b74397063be0678a4ecc5bede5dc8593ac82d4b..6c634d81608146484e4f37c8f7be76fa74cb3da8 100644
(file)
--- a/
src/glx/dri_common.h
+++ b/
src/glx/dri_common.h
@@
-36,6
+36,8
@@
#ifndef _DRI_COMMON_H
#define _DRI_COMMON_H
+#ifdef GLX_DIRECT_RENDERING
+
#include <GL/internal/dri_interface.h>
#include <stdbool.h>
#include "loader.h"
@@
-83,4
+85,6
@@
dri2_check_no_error(uint32_t flags, struct glx_context *share_context,
int major, unsigned *error);
+#endif /* GLX_DIRECT_RENDERING */
+
#endif /* _DRI_COMMON_H */