diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas
index 878c45acf560339b232bcb0db62bc52a2993378c..0f26212b29ce8f21c066bb80299f4c395011bfbe 100644 (file)
--- a/src/game/g_gfx.pas
+++ b/src/game/g_gfx.pas
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);