Browse Source

Removed byte typedef

raysan5 8 years ago
parent
commit
9d3ad52160
2 changed files with 2 additions and 6 deletions
  1. 0 3
      src/raylib.h
  2. 2 3
      src/rlgl.h

+ 0 - 3
src/raylib.h

@@ -305,9 +305,6 @@
     #endif
 #endif
 
-// byte type
-typedef unsigned char byte;
-
 // Vector2 type
 typedef struct Vector2 {
     float x;

+ 2 - 3
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;