Review some issues on standalone mode

This commit is contained in:
Ray 2020-01-31 13:16:49 +01:00
parent 3bb311ee38
commit 1561dc7fd7
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -199,6 +199,14 @@ typedef unsigned char byte;
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
typedef struct Texture2D {