summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGurchetan Singh <[email protected]>2017-07-27 20:48:08 -0700
committerEmil Velikov <[email protected]>2017-08-07 18:16:45 +0100
commit18eb3bdb858d221ec0f3e87e29819800c7df7760 (patch)
tree31c9f2c29be1ca75218e2c856c809bc87e1716e9 /src
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 <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src')
-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 b3a2cb78f9c..96c92e2e8db 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)