update to gint 2.4.0

This commit is contained in:
Lephenixnoir 2021-04-27 15:51:49 +02:00
parent dae54aba90
commit e1ff64c2cd
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 */