aboutsummaryrefslogtreecommitdiff
path: root/examples/support/cat.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-02 23:34:02 -0400
committerDrew DeVault <sir@cmpwn.com>2017-11-02 23:34:02 -0400
commit86b87299986a430a52b4eac3f2e0e7b659176c90 (patch)
treeac8523d64c6b2faa8d7156093c8dc8f6998301b7 /examples/support/cat.h
parent975b9dc365d5a7bec531522320a1506323575525 (diff)
parentec11a95d0c945d138cede66b7c6e53e343c82f8f (diff)
Merge remote-tracking branch 'origin/master' into hidpi
Diffstat (limited to 'examples/support/cat.h')
-rw-r--r--examples/support/cat.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/support/cat.h b/examples/support/cat.h
new file mode 100644
index 00000000..46dc50f6
--- /dev/null
+++ b/examples/support/cat.h
@@ -0,0 +1,13 @@
+#ifndef _CAT_H
+#define _CAT_H
+
+struct gimp_texture {
+ unsigned int width;
+ unsigned int height;
+ unsigned int bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */
+ unsigned char pixel_data[128 * 128 * 4 + 1];
+};
+
+extern const struct gimp_texture cat_tex;
+
+#endif