From 83d0515e854d7acf232a792868fe330bdbd716bf Mon Sep 17 00:00:00 2001 From: eihrul Date: Fri, 11 Feb 2011 22:23:27 +0000 Subject: [PATCH] always force a flush on copy to texture git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10841 d7cf8633-e32d-0410-b094-e92efae38249 --- dpsoftrast.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dpsoftrast.c b/dpsoftrast.c index c179417c..7dd06550 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -1216,8 +1216,7 @@ void DPSOFTRAST_CopyRectangleToTexture(int index, int mip, int tx, int ty, int s DPSOFTRAST_Texture *texture; texture = DPSOFTRAST_Texture_GetByIndex(index);if (!texture) return; if (mip < 0 || mip >= texture->mipmaps) return; - if (texture->binds) - DPSOFTRAST_Flush(); + DPSOFTRAST_Flush(); spixels = dpsoftrast.fb_colorpixels[0]; swidth = dpsoftrast.fb_width; sheight = dpsoftrast.fb_height; -- 2.39.2