diff options
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r-- | src/viewport.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index 2f40dead4..289e12900 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -134,7 +134,8 @@ static Point MapXYZToViewport(const ViewPort *vp, uint x, uint y, uint z) return p; } -void InitViewports() { +void InitViewports() +{ memset(_viewports, 0, sizeof(_viewports)); _active_viewports = 0; } |