radeon: reorder #includes to silence warnings
Silences warnings about RADEON_TILING_SURFACE being redefined. Only compile tested, not run tested.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
#ifndef RADEON_CS_WRAPPER_H
|
||||
#define RADEON_CS_WRAPPER_H
|
||||
|
||||
/* to be used to build locally in mesa with no libdrm bits */
|
||||
#include "../radeon/radeon_bo_drm.h"
|
||||
#include "../radeon/radeon_cs_drm.h"
|
||||
|
||||
#ifdef HAVE_LIBDRM_RADEON
|
||||
|
||||
#include "radeon_bo.h"
|
||||
@@ -24,10 +28,6 @@
|
||||
* when mapped - i.e. front buffer */
|
||||
#endif
|
||||
|
||||
/* to be used to build locally in mesa with no libdrm bits */
|
||||
#include "../radeon/radeon_bo_drm.h"
|
||||
#include "../radeon/radeon_cs_drm.h"
|
||||
|
||||
#ifndef DRM_RADEON_GEM_INFO
|
||||
#define DRM_RADEON_GEM_INFO 0x1c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user