Browse Source

Removed byte typedef

pull/197/head
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 View File

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

+ 2
- 3
src/rlgl.h View File

@ -117,15 +117,14 @@ typedef enum { RL_PROJECTION, RL_MODELVIEW, RL_TEXTURE } MatrixMode;
typedef enum { RL_LINES, RL_TRIANGLES, RL_QUADS } DrawMode; typedef enum { RL_LINES, RL_TRIANGLES, RL_QUADS } DrawMode;
typedef unsigned char byte;
#if defined(RLGL_STANDALONE) #if defined(RLGL_STANDALONE)
#ifndef __cplusplus #ifndef __cplusplus
// Boolean type // Boolean type
typedef enum { false, true } bool; typedef enum { false, true } bool;
#endif #endif
// byte type
typedef unsigned char byte;
// Color type, RGBA (32bit) // Color type, RGBA (32bit)
typedef struct Color { typedef struct Color {
unsigned char r; unsigned char r;

Loading…
Cancel
Save