Skip to content
Browse files

wz3: Default-initialize master viewport in GenOverlay to fix Render/R…

…enderAuto crash
  • Loading branch information...
1 parent b6ced8b commit 7e49c9d43316f2129921a861a8c670f3e2bba2f9 @rygorous rygorous committed Apr 29, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 werkkzeug3/genoverlay.cpp
View
1 werkkzeug3/genoverlay.cpp
@@ -481,6 +481,7 @@ GenOverlayManagerClass::GenOverlayManagerClass()
GeoDouble = sSystem->GeoAdd(sFVF_DOUBLE,sGEO_QUAD);
GeoDoubleTri = sSystem->GeoAdd(sFVF_DOUBLE,sGEO_TRI);
GeoTSpace = sSystem->GeoAdd(sFVF_TSPACE3,sGEO_QUAD);
+ Master.Init();
RefCount = 1;
RealPaint = sFALSE;

0 comments on commit 7e49c9d

Please sign in to comment.
Something went wrong with that request. Please try again.