summaryrefslogtreecommitdiffstats
path: root/xorg/tests/xdemo/common.h
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2012-02-11 11:44:13 -0800
committerJay Sorg <jay.sorg@gmail.com>2012-02-11 11:44:13 -0800
commita866b7b3306dd20e0836de50cd40f94456fcd560 (patch)
tree86a258f80aeb8986f9fcf38709daefb736057271 /xorg/tests/xdemo/common.h
parenta19fa88e4ec3413488c755c17fadb4d91baabb8e (diff)
downloadxrdp-proprietary-a866b7b3306dd20e0836de50cd40f94456fcd560.tar.gz
xrdp-proprietary-a866b7b3306dd20e0836de50cd40f94456fcd560.zip
xorg: added tests
Diffstat (limited to 'xorg/tests/xdemo/common.h')
-rw-r--r--xorg/tests/xdemo/common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/xorg/tests/xdemo/common.h b/xorg/tests/xdemo/common.h
new file mode 100644
index 00000000..2ce75bba
--- /dev/null
+++ b/xorg/tests/xdemo/common.h
@@ -0,0 +1,19 @@
+#ifndef __XDEMO_H
+#define __XDEMO_H
+
+#define DEBUG
+
+#ifdef DEBUG
+#define dprint(x...) printf(x)
+#else
+#define dprint(x...)
+#endif
+
+struct pic_info
+{
+ int width;
+ int height;
+ char *pixel_data;
+};
+
+#endif