summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-04-14 21:01:32 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-04-14 21:01:32 +0400
commitc0aae815848a99606d964b53cee53af11675d993 (patch)
tree353775ef4aeba2b26e781d83bb4c2db1a1071293 /inc
parent8fef47aee73fbc0361a4f887541c8b1b36f7fd1a (diff)
Convert HQx and scrap to 32-bit color.
Allow putting small 32-bit pics onto the scrap and upscaling them. Also limit upscaling level based on maximum GL rexture size.
Diffstat (limited to 'inc')
-rw-r--r--inc/shared/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/shared/platform.h b/inc/shared/platform.h
index c8b7d7a..2bac50e 100644
--- a/inc/shared/platform.h
+++ b/inc/shared/platform.h
@@ -94,6 +94,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define q_printf(f, a) __attribute__((format(printf, f, a)))
#define q_noreturn __attribute__((noreturn))
+#define q_noinline __attribute__((noinline))
#define q_malloc __attribute__((malloc))
#if __GNUC__ >= 4
#define q_sentinel __attribute__((sentinel))
@@ -127,6 +128,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define q_printf(f, a)
#define q_noreturn
+#define q_noinline
#define q_malloc
#define q_sentinel