From 0b69a598a0f555bdb64e48142b4c509d7709673d Mon Sep 17 00:00:00 2001 From: Rob Loach Date: Sat, 19 Dec 2020 12:06:37 -0500 Subject: [PATCH] Update raylib --- include/Image.hpp | 12 ++++++------ vendor/raylib | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/Image.hpp b/include/Image.hpp index 782d2b5..6237c6a 100644 --- a/include/Image.hpp +++ b/include/Image.hpp @@ -338,10 +338,6 @@ class Image : public ::Image { return *this; } - inline ::Color* GetPalette(int maxPaletteSize, int *extractCount) { - return ::GetImagePalette(*this, maxPaletteSize, extractCount); - } - inline Rectangle GetAlphaBorder(float threshold) const { return ::GetImageAlphaBorder(*this, threshold); } @@ -430,8 +426,12 @@ class Image : public ::Image { return *this; } - inline ::Color* GetImageData() { - return ::GetImageData(*this); + inline ::Color* LoadColors() { + return ::LoadImageColors(*this); + } + + inline ::Color* LoadPalette(int maxPaletteSize, int *colorsCount) { + return ::LoadImagePalette(*this, maxPaletteSize, colorsCount); } ::Texture2D LoadTexture() { diff --git a/vendor/raylib b/vendor/raylib index 84ab00d..e404a18 160000 --- a/vendor/raylib +++ b/vendor/raylib @@ -1 +1 @@ -Subproject commit 84ab00d52e66d7a9cec7d05c8dbede5e6a3f31eb +Subproject commit e404a18226cafba0a1e4fabde45649fa9c150a15