From eb536dc995b9e814df0966ab12eb5fda283af87f Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 18 Feb 2012 19:36:56 +0900 Subject: [PATCH] Remove D_BeginDirectRect and D_EndDirectRect from gl/glsl. They were never really needed anyway (they're for the sw renderer). --- libs/video/renderer/gl/vid_common_gl.c | 10 ---------- libs/video/renderer/glsl/vid_common_glsl.c | 10 ---------- 2 files changed, 20 deletions(-) diff --git a/libs/video/renderer/gl/vid_common_gl.c b/libs/video/renderer/gl/vid_common_gl.c index 40d160a74..61a858301 100644 --- a/libs/video/renderer/gl/vid_common_gl.c +++ b/libs/video/renderer/gl/vid_common_gl.c @@ -734,13 +734,3 @@ GL_Init_Common (void) qfglTexParameterf (GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); qfglTexParameterf (GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); } - -void -D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height) -{ -} - -void -D_EndDirectRect (int x, int y, int width, int height) -{ -} diff --git a/libs/video/renderer/glsl/vid_common_glsl.c b/libs/video/renderer/glsl/vid_common_glsl.c index 94555ef32..bc556b678 100644 --- a/libs/video/renderer/glsl/vid_common_glsl.c +++ b/libs/video/renderer/glsl/vid_common_glsl.c @@ -167,16 +167,6 @@ GL_Init_Common (void) qfglBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); } -void -D_BeginDirectRect (int x, int y, byte *pbitmap, int width, int height) -{ -} - -void -D_EndDirectRect (int x, int y, int width, int height) -{ -} - int GLSL_CompileShader (const char *name, const char *shader_src, int type) {