OPENGL_GAL: Init currentTarget
The currentTarget member of OPENGL_GAL is not initialised, but the currentManager member is. This commit uses SetTarget to initialise both target and manager to a consistent state at construction.
This commit is contained in:
parent
68b141dcb8
commit
0799d9e45c
|
@ -140,7 +140,7 @@ OPENGL_GAL::OPENGL_GAL( GAL_DISPLAY_OPTIONS& aDisplayOptions, wxWindow* aParent,
|
|||
|
||||
gluTessProperty( tesselator, GLU_TESS_WINDING_RULE, GLU_TESS_WINDING_POSITIVE );
|
||||
|
||||
currentManager = nonCachedManager;
|
||||
SetTarget( TARGET_NONCACHED );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue