Skip to content

Commit

Permalink
Added new constants, defined an RGBA color
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 4, 2003
1 parent 7ee89d0 commit 4a4adf5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doomsday/Include/dglib.h
Expand Up @@ -16,6 +16,11 @@ typedef struct
DGLubyte rgb[3];
} gl_rgb_t;

typedef struct
{
DGLubyte rgba[4];
} gl_rgba_t;

// A 2-vertex with texture coordinates, using floats
typedef struct
{
Expand Down Expand Up @@ -177,6 +182,8 @@ enum
DGL_WIDTH,
DGL_HEIGHT,
DGL_ENV_COLOR,
DGL_ENV_ALPHA,
DGL_GRAY_MIPMAP,

// Various bits
DGL_COLOR_BUFFER_BIT = 0x1,
Expand Down

0 comments on commit 4a4adf5

Please sign in to comment.