summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorJapa2011-03-05 17:07:51 +0000
committerJapa2011-03-05 17:07:51 +0000
commitfcb3c1858a749013fc56c0f31ae6e604cbab97e5 (patch)
tree5a49219f72a3887ea7384524a87b036f580fded4 /common.h
parent189820b91ca21ed7da4e8063be0c932bbfc92e8f (diff)
downloadstonesense-fcb3c1858a749013fc56c0f31ae6e604cbab97e5.tar.gz
stonesense-fcb3c1858a749013fc56c0f31ae6e604cbab97e5.tar.bz2
stonesense-fcb3c1858a749013fc56c0f31ae6e604cbab97e5.tar.xz
Fixed some color stuff arising from allegro's shift to premultiplied alpha.
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.h b/common.h
index 720576a..bc3d563 100644
--- a/common.h
+++ b/common.h
@@ -245,3 +245,5 @@ extern ALLEGRO_MOUSE_STATE mouse;
#define FORM_LOG 4
extern int randomCube[RANDOM_CUBE][RANDOM_CUBE][RANDOM_CUBE];
+
+ALLEGRO_COLOR premultiply(ALLEGRO_COLOR input);