aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gdisp/QImage/gdisp_lld_qimage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gdisp/QImage/gdisp_lld_qimage.cpp')
-rw-r--r--drivers/gdisp/QImage/gdisp_lld_qimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gdisp/QImage/gdisp_lld_qimage.cpp b/drivers/gdisp/QImage/gdisp_lld_qimage.cpp
index 2d2876f0..f43ba850 100644
--- a/drivers/gdisp/QImage/gdisp_lld_qimage.cpp
+++ b/drivers/gdisp/QImage/gdisp_lld_qimage.cpp
@@ -27,12 +27,12 @@ void qimage_setPixel(GDisplay* g)
qimage->setPixel(g->p.x, g->p.y, rgbVal);
}
-color_t qimage_getPixel(GDisplay* g)
+gColor qimage_getPixel(GDisplay* g)
{
const QImage* qimage = static_cast<const QImage*>(g->priv);
if (!qimage) {
return 0;
}
- return static_cast<color_t>(qimage->pixel(g->p.x, g->p.y));
+ return static_cast<gColor>(qimage->pixel(g->p.x, g->p.y));
}