From: John Tsiombikas Date: Sat, 17 Dec 2022 02:32:46 +0000 (+0200) Subject: fixed display of the distortion effect (rendertarget texture matrix) X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=summerhack;a=commitdiff_plain;h=38630d1ae93aa0a015d23ed79a4d7d83fab8918a fixed display of the distortion effect (rendertarget texture matrix) --- diff --git a/src/parts/dist.cpp b/src/parts/dist.cpp index 3156130..33a2410 100644 --- a/src/parts/dist.cpp +++ b/src/parts/dist.cpp @@ -89,7 +89,7 @@ void DistFx::draw_part() { } // draw - set_matrix(XFORM_TEXTURE, Matrix4x4::identity_matrix); + set_matrix(XFORM_TEXTURE, dsys::tex_mat[0]); load_xform_matrices(); glMatrixMode(GL_MODELVIEW);