diff --git a/src/raylib.h b/src/raylib.h index f62433041..2e3112cf9 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 9be73f363..78ea6727b 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;