diff options
| author | Japa | 2011-03-05 17:07:51 +0000 |
|---|---|---|
| committer | Japa | 2011-03-05 17:07:51 +0000 |
| commit | fcb3c1858a749013fc56c0f31ae6e604cbab97e5 (patch) | |
| tree | 5a49219f72a3887ea7384524a87b036f580fded4 /common.h | |
| parent | 189820b91ca21ed7da4e8063be0c932bbfc92e8f (diff) | |
| download | stonesense-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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);
|
