Skip to content

Commit ed473ae

Browse files
authored
Merge pull request #95 from RobLoach/breakingchanges
Update raylib for lastest breaking changes
2 parents 26f27df + b91ce6d commit ed473ae

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

include/Image.hpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,6 @@ class Image : public ::Image {
338338
return *this;
339339
}
340340

341-
inline ::Color* GetPalette(int maxPaletteSize, int *extractCount) {
342-
return ::GetImagePalette(*this, maxPaletteSize, extractCount);
343-
}
344-
345341
inline Rectangle GetAlphaBorder(float threshold) const {
346342
return ::GetImageAlphaBorder(*this, threshold);
347343
}
@@ -430,8 +426,12 @@ class Image : public ::Image {
430426
return *this;
431427
}
432428

433-
inline ::Color* GetImageData() {
434-
return ::GetImageData(*this);
429+
inline ::Color* LoadColors() {
430+
return ::LoadImageColors(*this);
431+
}
432+
433+
inline ::Color* LoadPalette(int maxPaletteSize, int *colorsCount) {
434+
return ::LoadImagePalette(*this, maxPaletteSize, colorsCount);
435435
}
436436

437437
::Texture2D LoadTexture() {

include/Wave.hpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,6 @@ class Wave : public ::Wave {
145145
return LoadSound();
146146
}
147147

148-
/**
149-
* Get samples data from wave as a floats array
150-
*/
151-
inline float* GetData() {
152-
return ::GetWaveData(*this);
153-
}
154-
155148
protected:
156149
inline void set(::Wave wave) {
157150
sampleCount = wave.sampleCount;

0 commit comments

Comments
 (0)