mirror of
https://github.com/leozide/leocad.git
synced 2026-07-28 04:07:11 +00:00
Moved global resource creation to startup instead of context creation. Fixes #645.
This commit is contained in:
@@ -398,7 +398,6 @@ void lcScene::Draw(lcContext* Context) const
|
||||
{
|
||||
// TODO: find a better place for these updates
|
||||
lcGetPiecesLibrary()->UpdateBuffers(Context);
|
||||
lcGetPiecesLibrary()->UploadTextures(Context);
|
||||
|
||||
Context->SetViewMatrix(mViewMatrix);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user