From 132422504ff084746df93675292ee937a946d105 Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Mon, 13 Jun 2011 00:58:10 +0200 Subject: [PATCH] Fix naive blit typo --- libs/core/GP_Blit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/core/GP_Blit.c b/libs/core/GP_Blit.c index 76c7a2c5..251272da 100644 --- a/libs/core/GP_Blit.c +++ b/libs/core/GP_Blit.c @@ -23,6 +23,7 @@ #include "GP_Pixel.h" #include "GP_GetPutPixel.h" #include "GP_Context.h" +#include "GP_Convert.h" #include "GP_Blit.h" /* @@ -69,7 +70,7 @@ void GP_Blit_Naive(const GP_Context *c1, GP_Coord x1, GP_Coord y1, GP_Size w, GP for (int j = 0; j < h; j++) { GP_Pixel p = GP_GetPixel(c1, x1 + i, y1 + j); if (c1->pixel_type != c2->pixel_type) - p = GP_GP_ConvertContextPixel(p, c1, c2); + p = GP_ConvertContextPixel(p, c1, c2); GP_PutPixel(c2, x2 + i, y2 + j, p); } } -- 2.11.4.GIT