DEADSOFTWARE

Fix textures with nanoGL, disable particles with nanoGL and comment regressions with...
[d2df-sdl.git] / src / game / g_gfx.pas
index 878c45acf560339b232bcb0db62bc52a2993378c..0f26212b29ce8f21c066bb80299f4c395011bfbe 100644 (file)
@@ -1469,6 +1469,9 @@ procedure g_GFX_SetMax (count: Integer);
 var
   a: Integer;
 begin
+{$IFDEF USE_NANOGL} // FIXIT: nanoGL doesn't support glBegin(GL_POINTS)
+  count := 0;
+{$ENDIF}
   if count > 50000 then count := 50000;
   if (count < 1) then count := 1;
   SetLength(Particles, count);