summaryrefslogtreecommitdiffhomepage
path: root/src
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
parenta3d71dd58d993d15d695b0cd58b434ef2604185b (diff)
downloadraylib-9d3ad52160a0e32271a8e3d76d9ea95e9bd0684a.tar.gz
raylib-9d3ad52160a0e32271a8e3d76d9ea95e9bd0684a.zip
Removed byte typedef
Diffstat (limited to 'src')
-rw-r--r--src/raylib.h3
-rw-r--r--src/rlgl.h5
2 files changed, 2 insertions, 6 deletions
diff --git a/src/raylib.h b/src/raylib.h
index f6243304..2e3112cf 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -305,9 +305,6 @@
#endif
#endif
-// byte type
-typedef unsigned char byte;
-
// Vector2 type
typedef struct Vector2 {
float x;
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;