]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_particles.c
Fix a bug in MD3 model loading that caused warnings from
[xonotic/darkplaces.git] / cl_particles.c
index 4247755d8d18188dee35a57a0526655c7eab3045..bf3c1d1637ec29b5830a612e749dd0a41fc0254e 100644 (file)
@@ -2862,6 +2862,13 @@ static void R_DrawParticle_TransparentCallback(const entity_render_t *ent, const
                        t2f[6] = v[1];t2f[7] = tex->t1;
                        break;
                }
+               if (r_showparticleedges.integer)
+               {
+                       R_DebugLine(v3f, v3f + 3);
+                       R_DebugLine(v3f + 3, v3f + 6);
+                       R_DebugLine(v3f + 6, v3f + 9);
+                       R_DebugLine(v3f + 9, v3f);
+               }
        }
 
        // now render batches of particles based on blendmode and texture