From 1561dc7fd7bee78f87112fceb1e51ffe00c11d0d Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 31 Jan 2020 13:16:49 +0100 Subject: [PATCH] Review some issues on standalone mode --- src/raylib.h | 1 - src/rlgl.h | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/raylib.h b/src/raylib.h index a5d6d4b8b..1ca2ed0ae 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -1331,7 +1331,6 @@ RLAPI Texture2D GetShapesTexture(void); // Get RLAPI Rectangle GetShapesTextureRec(void); // Get texture rectangle to draw shapes RLAPI void SetShapesTexture(Texture2D texture, Rectangle source); // Define default texture used to draw shapes - // Shader configuration functions RLAPI int GetShaderLocation(Shader shader, const char *uniformName); // Get shader uniform location RLAPI void SetShaderValue(Shader shader, int uniformLoc, const void *value, int uniformType); // Set shader uniform value diff --git a/src/rlgl.h b/src/rlgl.h index de3c6c97c..96d516534 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -198,6 +198,14 @@ typedef unsigned char byte; unsigned char b; unsigned char a; } Color; + + // Rectangle type + typedef struct Rectangle { + float x; + float y; + float width; + float height; + } Rectangle; // Texture2D type // NOTE: Data stored in GPU memory