Fixed crash occuring when a vertex buffer is mapped in invalid OpenGL context.
This commit is contained in:
parent
a62d2b5412
commit
55976e39ef
|
@ -302,6 +302,7 @@ void OPENGL_GAL::EndDrawing()
|
|||
|
||||
void OPENGL_GAL::BeginUpdate()
|
||||
{
|
||||
SetCurrent( *OPENGL_GAL::glContext );
|
||||
cachedManager.Map();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue