summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5c72767)
raw | patch | inline | side by side (parent: 5c72767)
author | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Thu, 21 Sep 2017 20:05:20 +0000 (23:05 +0300) | ||
committer | Ketmar Dark <ketmar@ketmar.no-ip.org> | |
Thu, 21 Sep 2017 20:05:59 +0000 (23:05 +0300) |
src/game/g_gfx.pas | patch | blob | history |
diff --git a/src/game/g_gfx.pas b/src/game/g_gfx.pas
index 9eb3c04dfca5c45ea5219031e1b1364c214b488a..42dfa8c8eae83811f7bb35f823ac7d7b47ea3e2d 100644 (file)
--- a/src/game/g_gfx.pas
+++ b/src/game/g_gfx.pas
if (Particles <> nil) then
begin
glDisable(GL_TEXTURE_2D);
- glPointSize(2);
+ if (g_dbg_scale < 0.6) then glPointSize(1)
+ else if (g_dbg_scale > 1.3) then glPointSize(g_dbg_scale+1)
+ else glPointSize(2);
+ glDisable(GL_POINT_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);