From 8c5f851b4148a19dff450267a93f6f37912df00a Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 13 Oct 2010 19:32:40 +0000 Subject: [PATCH] fix D3D scissoring git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10524 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=1c0077b12b379813c5ed6caeeb7385e88e10ff8e --- gl_backend.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gl_backend.c b/gl_backend.c index ba59e24a..82b245fa 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -443,21 +443,6 @@ qboolean R_ScissorForBBox(const float *mins, const float *maxs, int *scissor) scissor[2] = ix2 - ix1; scissor[3] = iy2 - iy1; - // D3D Y coordinate is top to bottom, OpenGL is bottom to top, fix the D3D one - switch(vid.renderpath) - { - case RENDERPATH_D3D9: - case RENDERPATH_D3D10: - case RENDERPATH_D3D11: - scissor[1] = vid.height - scissor[1] - scissor[3]; - break; - case RENDERPATH_GL11: - case RENDERPATH_GL13: - case RENDERPATH_GL20: - case RENDERPATH_CGGL: - break; - } - return false; } -- 2.39.2