summaryrefslogtreecommitdiff
path: root/render/color.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-10-11 06:45:04 +0000
committerDana Jansens <danakj@orodu.net>2003-10-11 06:45:04 +0000
commit35e3370651be572c710a09f6bb6190207c5dbd01 (patch)
tree67b40b49c39d8d714d22dddd1fd9af99169dcc51 /render/color.h
parent7833271d1461d9b0e02ffc804cd4e0156fd8faf4 (diff)
add an id to colors for debugging purposes
Diffstat (limited to 'render/color.h')
-rw-r--r--render/color.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/render/color.h b/render/color.h
index ed689815..d620f8a4 100644
--- a/render/color.h
+++ b/render/color.h
@@ -37,6 +37,10 @@ struct _RrColor {
gint key;
gint refcount;
+
+#ifdef DEBUG
+ gint id;
+#endif
};
void RrColorAllocateGC(RrColor *in);