diff --git a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx index 06685b2f9b..610a6e4e10 100644 --- a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx +++ b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx @@ -2073,31 +2073,13 @@ draw_tri(const GeomTri *geom) { dps_data.diffuse.lpvData = (VOID*)pConvertedColorArray; dps_data.diffuse.dwStride = sizeof(D3DCOLOR); - // Geom nodes store floats for colors, drawprim requires ARGB dwords - // BUGBUG: eventually this hack every-frame all-colors conversion needs - // to be done only once as part of a vertex buffer - - if(_color_transform_enabled || _alpha_transform_enabled) { - for (int i=0;i