aboutsummaryrefslogtreecommitdiff
path: root/examples/cat.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-29 16:00:24 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-29 16:00:24 -0400
commit8920b5d607c6b3b5d04894fc1837ac4f2d9558ae (patch)
tree3c79b4faff213544ed247e1c126fc89508bdd75d /examples/cat.h
parent97f6e9b69aecf1fbcbc2fa95cb2009f873c86d40 (diff)
parent486ec5953cf51f5fde834bf8fa7fbe56f0be9a0e (diff)
Merge branch 'wlcore'
Diffstat (limited to 'examples/cat.h')
-rw-r--r--examples/cat.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/cat.h b/examples/cat.h
new file mode 100644
index 00000000..6db307fd
--- /dev/null
+++ b/examples/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 * 3 + 1];
+};
+
+extern const struct gimp_texture cat_tex;
+
+#endif