Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Xf86 Video Fbturbo
Commits
1bbeff2f
Commit
1bbeff2f
authored
Jun 10, 2013
by
Siarhei Siamashka
Browse files
DRI2: Move DebugMsg macro to a common header
Signed-off-by:
Siarhei Siamashka
<
siarhei.siamashka@gmail.com
>
parent
3ea99e51
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/fbdev_priv.h
View file @
1bbeff2f
...
@@ -31,6 +31,12 @@
...
@@ -31,6 +31,12 @@
#include "compat-api.h"
#include "compat-api.h"
#ifdef DEBUG
#define DebugMsg(...) ErrorF(__VA_ARGS__)
#else
#define DebugMsg(...)
#endif
typedef
struct
{
typedef
struct
{
unsigned
char
*
fbstart
;
unsigned
char
*
fbstart
;
unsigned
char
*
fbmem
;
unsigned
char
*
fbmem
;
...
...
src/sunxi_mali_ump_dri2.c
View file @
1bbeff2f
...
@@ -48,12 +48,6 @@
...
@@ -48,12 +48,6 @@
#include "sunxi_disp_ioctl.h"
#include "sunxi_disp_ioctl.h"
#include "sunxi_mali_ump_dri2.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"
* The code below is borrowed from "xserver/dix/window.c"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment