Commit 1bbeff2f authored by Siarhei Siamashka's avatar Siarhei Siamashka
Browse files

DRI2: Move DebugMsg macro to a common header


Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
parent 3ea99e51
......@@ -31,6 +31,12 @@
#include "compat-api.h"
#ifdef DEBUG
#define DebugMsg(...) ErrorF(__VA_ARGS__)
#else
#define DebugMsg(...)
#endif
typedef struct {
unsigned char* fbstart;
unsigned char* fbmem;
......
......@@ -48,12 +48,6 @@
#include "sunxi_disp_ioctl.h"
#include "sunxi_mali_ump_dri2.h"
#ifdef DEBUG
#define DebugMsg(...) ErrorF(__VA_ARGS__)
#else
#define DebugMsg(...)
#endif
/*
* The code below is borrowed from "xserver/dix/window.c"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment