DEADSOFTWARE

gl: fix invalid color cache
[d2df-sdl.git] / src / game / renders / opengl / r_map.pas
index eb7321773680c186524226d53fe4553c0c88f757..1d9a0f3caed772cdf073b79d83aa559b0c968435 100644 (file)
@@ -1125,6 +1125,7 @@ implementation
       glEnable(GL_BLEND);
       glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
 
+      r_Draw_SetColor(255, 255, 255, 255);
       glBegin(GL_POINTS);
         for i := 0 to High(Particles) do
         begin
@@ -1137,6 +1138,7 @@ implementation
           end;
         end;
       glEnd;
+      r_Draw_SetColor(0, 0, 0, 255);
 
       glDisable(GL_BLEND);
     end;