st/dri: organize order of includers in dri_helpers
authorGurchetan Singh <gurchetansingh@chromium.org>
Fri, 28 Jul 2017 03:48:08 +0000 (20:48 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 7 Aug 2017 17:16:45 +0000 (18:16 +0100)
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>
src/gallium/state_trackers/dri/dri_helpers.c

index b3a2cb78f9c3e309e214cfdaebaba593f4a32da2..96c92e2e8db9c6d6448a917b131931bc4f05a89f 100644 (file)
  */
 
 #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)