fixed display of the distortion effect (rendertarget texture matrix)
authorJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 17 Dec 2022 02:32:46 +0000 (04:32 +0200)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Sat, 17 Dec 2022 02:32:46 +0000 (04:32 +0200)
src/parts/dist.cpp

index 3156130..33a2410 100644 (file)
@@ -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);