summaryrefslogtreecommitdiff
path: root/includes/graphics.h
diff options
context:
space:
mode:
authorPhilip <philip@philip-linuxlaptop.(none)>2010-11-09 00:59:03 (GMT)
committer Philip <philip@philip-linuxlaptop.(none)>2010-11-09 00:59:03 (GMT)
commit16265e3736d5cf9e5620d423e03ed1df0ede50eb (patch)
treefad9a64e776b22660536d797737c6489af4e4266 /includes/graphics.h
parentb8ed9035f7d3af3b1b7e8d404b277abcb53df083 (diff)
downloadpowder-16265e3736d5cf9e5620d423e03ed1df0ede50eb.zip
powder-16265e3736d5cf9e5620d423e03ed1df0ede50eb.tar.gz
made faster
Diffstat (limited to 'includes/graphics.h')
-rw-r--r--includes/graphics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/graphics.h b/includes/graphics.h
index ec0d597..6f6b133 100644
--- a/includes/graphics.h
+++ b/includes/graphics.h
@@ -63,13 +63,13 @@ int draw_tool_xy(pixel *vid_buf, int x, int y, int b, unsigned pc);
void draw_menu(pixel *vid_buf, int i, int hover);
-#ifdef WIN32
+#if defined(WIN32) && !defined(__GNUC__)
_inline void drawpixel(pixel *vid, int x, int y, int r, int g, int b, int a);
#else
extern inline void drawpixel(pixel *vid, int x, int y, int r, int g, int b, int a);
#endif
-#ifdef WIN32
+#if defined(WIN32) && !defined(__GNUC__)
_inline int drawchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a);
#else
extern inline int drawchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a);
@@ -97,7 +97,7 @@ int textnheight(char *s, int n, int w);
int textwidthx(char *s, int w);
-#ifdef WIN32
+#if defined(WIN32) && !defined(__GNUC__)
_inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a);
#else
void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a);