diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/textures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textures.c b/src/textures.c index f53adb73..50f7e63a 100644 --- a/src/textures.c +++ b/src/textures.c @@ -1114,7 +1114,7 @@ void ImageMipmaps(Image *image) else TraceLog(LOG_WARNING, "Mipmaps required memory could not be allocated"); // Pointer to allocated memory point where store next mipmap level data - unsigned char *nextmip = image->data + GetPixelDataSize(image->width, image->height, image->format); + unsigned char *nextmip = (unsigned char *)image->data + GetPixelDataSize(image->width, image->height, image->format); mipWidth = image->width/2; mipHeight = image->height/2; |
