egl: consolidate ifdef HAVE_LIBDRM blocks
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 10 Jul 2015 10:01:35 +0000 (11:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 1 Aug 2015 14:41:19 +0000 (15:41 +0100)
commit57c670a823e55f5dd1fb2eb3d15e7db0a4f5c07a
tree42c7fc18615a89cd6d3e217fd035db6c26f7d666
parentb0a929960384ffebf3b4f693fa0db4231ed897d4
egl: consolidate ifdef HAVE_LIBDRM blocks

Move the code around rather than having it scattered. No functional
change.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
src/egl/drivers/dri2/egl_dri2.c