summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2016-11-15 19:15:25 +0100
committerraysan5 <[email protected]>2016-11-15 19:15:25 +0100
commit9d3ad52160a0e32271a8e3d76d9ea95e9bd0684a (patch)
tree16aedc5c77f713ec3d9e7a74e57367c182185ae2 /src/rlgl.h
parenta3d71dd58d993d15d695b0cd58b434ef2604185b (diff)
downloadraylib-9d3ad52160a0e32271a8e3d76d9ea95e9bd0684a.tar.gz
raylib-9d3ad52160a0e32271a8e3d76d9ea95e9bd0684a.zip
Removed byte typedef
Diffstat (limited to 'src/rlgl.h')
-rw-r--r--src/rlgl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index 9be73f36..78ea6727 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -117,15 +117,14 @@ typedef enum { RL_PROJECTION, RL_MODELVIEW, RL_TEXTURE } MatrixMode;
typedef enum { RL_LINES, RL_TRIANGLES, RL_QUADS } DrawMode;
+typedef unsigned char byte;
+
#if defined(RLGL_STANDALONE)
#ifndef __cplusplus
// Boolean type
typedef enum { false, true } bool;
#endif
- // byte type
- typedef unsigned char byte;
-
// Color type, RGBA (32bit)
typedef struct Color {
unsigned char r;