diff options
Diffstat (limited to 'StarsEx/Video.h')
-rw-r--r-- | StarsEx/Video.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/StarsEx/Video.h b/StarsEx/Video.h index 87cf1f9..a35a32e 100644 --- a/StarsEx/Video.h +++ b/StarsEx/Video.h @@ -50,8 +50,8 @@ struct RenderStats int total_polys; int total_lines; - void Clear() { nverts = npolys = nlines = ncalls = - total_verts = total_polys = total_lines = 0; } + RenderStats() : total_verts {0}, total_polys {0}, total_lines {0} {} + void Clear() { nverts = npolys = nlines = ncalls = 0; } }; // +--------------------------------------------------------------------+ |