diff options
| author | raysan5 <[email protected]> | 2020-06-07 18:32:20 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-06-07 18:32:20 +0200 |
| commit | a9fb0aa20781ed576ab939846bcefe2ea62f4951 (patch) | |
| tree | 7abec7757a34c35b0fb89fea0746c58985157e04 /src/raylib.h | |
| parent | b5174a9990950a75a58451979245b960d0e04f28 (diff) | |
| download | raylib-a9fb0aa20781ed576ab939846bcefe2ea62f4951.tar.gz raylib-a9fb0aa20781ed576ab939846bcefe2ea62f4951.zip | |
ImageToPOT() renamed parameter
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 9d9fd8c5..f29c07e8 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1126,7 +1126,7 @@ RLAPI Image ImageFromImage(Image image, Rectangle rec); RLAPI Image ImageText(const char *text, int fontSize, Color color); // Create an image from text (default font) RLAPI Image ImageTextEx(Font font, const char *text, float fontSize, float spacing, Color tint); // Create an image from text (custom sprite font) RLAPI void ImageFormat(Image *image, int newFormat); // Convert image data to desired format -RLAPI void ImageToPOT(Image *image, Color fillColor); // Convert image to POT (power-of-two) +RLAPI void ImageToPOT(Image *image, Color fill); // Convert image to POT (power-of-two) RLAPI void ImageCrop(Image *image, Rectangle crop); // Crop an image to a defined rectangle RLAPI void ImageAlphaCrop(Image *image, float threshold); // Crop image depending on alpha value RLAPI void ImageAlphaClear(Image *image, Color color, float threshold); // Clear alpha channel to desired color @@ -1199,6 +1199,7 @@ RLAPI void DrawTextureNPatch(Texture2D texture, NPatchInfo nPatchInfo, Rectangle // Image/Texture misc functions RLAPI int GetPixelDataSize(int width, int height, int format); // Get pixel data size in bytes (image or texture) + //------------------------------------------------------------------------------------ // Font Loading and Text Drawing Functions (Module: text) //------------------------------------------------------------------------------------ |
