aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp/gdisp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdisp/gdisp.c')
-rw-r--r--src/gdisp/gdisp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c
index 27b52e92..ffede502 100644
--- a/src/gdisp/gdisp.c
+++ b/src/gdisp/gdisp.c
@@ -69,7 +69,7 @@ GDisplay *GDISP;
/*==========================================================================*/
#if GDISP_HARDWARE_STREAM_POS && GDISP_HARDWARE_STREAM_WRITE
- static INLINE void setglobalwindow(GDisplay *g) {
+ static GFXINLINE void setglobalwindow(GDisplay *g) {
coord_t x, y;
x = g->p.x; y = g->p.y;
g->p.x = g->p.y = 0;
@@ -105,7 +105,7 @@ GDisplay *GDISP;
// Parameters: x,y
// Alters: cx, cy (if using streaming)
// Does not clip
-static INLINE void drawpixel(GDisplay *g) {
+static GFXINLINE void drawpixel(GDisplay *g) {
// Best is hardware accelerated pixel draw
#if GDISP_HARDWARE_DRAWPIXEL
@@ -152,7 +152,7 @@ static INLINE void drawpixel(GDisplay *g) {
// Parameters: x,y
// Alters: cx, cy (if using streaming)
#if NEED_CLIPPING
- static INLINE void drawpixel_clip(GDisplay *g) {
+ static GFXINLINE void drawpixel_clip(GDisplay *g) {
#if GDISP_HARDWARE_CLIP == HARDWARE_AUTODETECT
if (!gvmt(g)->setclip)
#endif
@@ -171,7 +171,7 @@ static INLINE void drawpixel(GDisplay *g) {
// Alters: nothing
// Note: This is not clipped
// Resets the streaming area if GDISP_HARDWARE_STREAM_WRITE and GDISP_HARDWARE_STREAM_POS is set.
-static INLINE void fillarea(GDisplay *g) {
+static GFXINLINE void fillarea(GDisplay *g) {
// Best is hardware accelerated area fill
#if GDISP_HARDWARE_FILLS