From: eihrul Date: Fri, 11 Feb 2011 22:23:27 +0000 (+0000) Subject: always force a flush on copy to texture X-Git-Tag: xonotic-v0.5.0~438^2 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=83d0515e854d7acf232a792868fe330bdbd716bf;p=xonotic%2Fdarkplaces.git always force a flush on copy to texture git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10841 d7cf8633-e32d-0410-b094-e92efae38249 --- 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;