From: eihrul Date: Sun, 20 Mar 2011 15:23:27 +0000 (+0000) Subject: fix post-process shader using invalid texcoord array X-Git-Tag: xonotic-v0.6.0~163^2~598 X-Git-Url: https://git.xonotic.org/?a=commitdiff_plain;h=14095d57b71c30da640b4da5ceab4c9440521e1c;p=xonotic%2Fdarkplaces.git fix post-process shader using invalid texcoord array git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10948 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/dpsoftrast.c b/dpsoftrast.c index 652105bb..5d173cbb 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -3174,7 +3174,7 @@ void DPSOFTRAST_VertexShader_PostProcess(void) { DPSOFTRAST_Array_TransformProject(DPSOFTRAST_ARRAY_POSITION, DPSOFTRAST_ARRAY_POSITION, dpsoftrast.uniform4f + 4*DPSOFTRAST_UNIFORM_ModelViewProjectionMatrixM1); DPSOFTRAST_Array_Load(DPSOFTRAST_ARRAY_TEXCOORD0, DPSOFTRAST_ARRAY_TEXCOORD0); - DPSOFTRAST_Array_Load(DPSOFTRAST_ARRAY_TEXCOORD1, DPSOFTRAST_ARRAY_TEXCOORD1); + DPSOFTRAST_Array_Load(DPSOFTRAST_ARRAY_TEXCOORD1, DPSOFTRAST_ARRAY_TEXCOORD4); } void DPSOFTRAST_PixelShader_PostProcess(DPSOFTRAST_State_Thread *thread, const DPSOFTRAST_State_Triangle * RESTRICT triangle, const DPSOFTRAST_State_Span * RESTRICT span)