From 4a4adf5ee1121b071cfcd3acbe523ada37d0fe80 Mon Sep 17 00:00:00 2001 From: skyjake Date: Mon, 4 Aug 2003 22:03:01 +0000 Subject: [PATCH] Added new constants, defined an RGBA color --- doomsday/Include/dglib.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doomsday/Include/dglib.h b/doomsday/Include/dglib.h index 1fc68aee63..f87246706e 100644 --- a/doomsday/Include/dglib.h +++ b/doomsday/Include/dglib.h @@ -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 { @@ -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,