summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurchetan Singh <gurchetansingh@chromium.org>2017-07-27 20:48:08 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2017-08-07 18:16:45 +0100
commit18eb3bdb858d221ec0f3e87e29819800c7df7760 (patch)
tree31c9f2c29be1ca75218e2c856c809bc87e1716e9
parent1825280128f4bce5fddae8fc132f13e091071bb9 (diff)
st/dri: organize order of includers in dri_helpers
Although it doesn't seem like a strict requirement of the code base, we do it when possible and it looks nice. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
-rw-r--r--src/gallium/state_trackers/dri/dri_helpers.c5
1 files 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)