diff options
Diffstat (limited to 'src/gwin/gwin_gl3d.c')
-rw-r--r-- | src/gwin/gwin_gl3d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gwin/gwin_gl3d.c b/src/gwin/gwin_gl3d.c index 2c2861e2..5719f811 100644 --- a/src/gwin/gwin_gl3d.c +++ b/src/gwin/gwin_gl3d.c @@ -86,7 +86,7 @@ static void gl3dRedraw(GWindowObject *gh) { ZBuffer * zb; zb = ((GGL3DObject *)gh)->glcxt->zb; - gdispGBlitArea(gh->display, gh->x, gh->y, zb->xsize, zb->ysize, 0, 0, zb->linesize/sizeof(color_t), (const gPixel *)zb->pbuf); + gdispGBlitArea(gh->display, gh->x, gh->y, zb->xsize, zb->ysize, 0, 0, zb->linesize/sizeof(gColor), (const gPixel *)zb->pbuf); } static int gl3dResizeGLViewport(GLContext *c, int *xsize_ptr, int *ysize_ptr) { |