diff --git a/CMakeLists.txt b/CMakeLists.txt index e68834a..aa291a9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Build system for the libimg library for gint cmake_minimum_required(VERSION 3.16) -project(libimg VERSION 2.2.1 LANGUAGES C) +project(libimg VERSION 2.4.0 LANGUAGES C) find_package(Gint 2.2.1 REQUIRED) configure_file(libimg.h libimg.h) diff --git a/src/render.c b/src/render.c index f5e76ae..b979616 100644 --- a/src/render.c +++ b/src/render.c @@ -77,7 +77,7 @@ void img_render_vram_gray(img_t img, int x, int y) for(int dy = 0; dy < img.height; dy++, px += img.stride) for(int dx = 0; dx < img.width; dx++) { - gpixel(x+dx, y+dy, px[dx]); + dpixel(x+dx, y+dy, px[dx]); } } #endif /* FX9860G */