summaryrefslogtreecommitdiff
path: root/inc/refresh/refresh.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2013-03-13 19:53:52 +0400
committerAndrey Nazarov <skuller@skuller.net>2013-03-14 20:53:32 +0400
commit0fbfe3ceb793830aa7a96bdc1b2d605a2fa8491c (patch)
tree1650418e8d0121d8ea942492f5e601d0b28007eb /inc/refresh/refresh.h
parentbaff433b6a2347ba3b052c6d54027634ea90175e (diff)
Clean up R_SetClipRect.
Diffstat (limited to 'inc/refresh/refresh.h')
-rw-r--r--inc/refresh/refresh.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/inc/refresh/refresh.h b/inc/refresh/refresh.h
index d1b1f2b..173c423 100644
--- a/inc/refresh/refresh.h
+++ b/inc/refresh/refresh.h
@@ -142,13 +142,6 @@ typedef struct {
extern refcfg_t r_config;
-#define DRAW_CLIP_DISABLED 0
-#define DRAW_CLIP_LEFT 0x00000004
-#define DRAW_CLIP_RIGHT 0x00000008
-#define DRAW_CLIP_TOP 0x00000010
-#define DRAW_CLIP_BOTTOM 0x00000020
-#define DRAW_CLIP_MASK 0x0000003C
-
typedef struct {
int left, right, top, bottom;
} clipRect_t;
@@ -209,7 +202,7 @@ void R_LightPoint(vec3_t origin, vec3_t light);
void R_ClearColor(void);
void R_SetAlpha(float clpha);
void R_SetColor(uint32_t color);
-void R_SetClipRect(int flags, const clipRect_t *clip);
+void R_SetClipRect(const clipRect_t *clip);
void R_SetScale(float *scale);
void R_DrawChar(int x, int y, int flags, int ch, qhandle_t font);
int R_DrawString(int x, int y, int flags, size_t maxChars,