[Mesa-dev] [PATCH 2/6] st/dri: organize order of includers in dri_helpers
Gurchetan Singh
gurchetansingh at chromium.org
Fri Jul 28 03:48:08 UTC 2017
Although it doesn't seem like a strict requirement of the
code base, we do it when possible and it looks nice.
---
src/gallium/state_trackers/dri/dri_helpers.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/dri/dri_helpers.c b/src/gallium/state_trackers/dri/dri_helpers.c
index b3a2cb78f9..96c92e2e8d 100644
--- a/src/gallium/state_trackers/dri/dri_helpers.c
+++ b/src/gallium/state_trackers/dri/dri_helpers.c
@@ -21,10 +21,11 @@
*/
#include <dlfcn.h>
+#include "util/u_memory.h"
+#include "pipe/p_screen.h"
+
#include "dri_context.h"
#include "dri_screen.h"
-#include "pipe/p_screen.h"
-#include "util/u_memory.h"
static bool
dri2_is_opencl_interop_loaded_locked(struct dri_screen *screen)
--
2.14.0.rc0.400.g1c36432dff-goog
More information about the mesa-dev
mailing list