codeonwort / pathosengine

OpenGL Rendering Engine for Study
MIT License
20 stars 0 forks source link

Fix multi-threading architecture #46

Closed codeonwort closed 1 year ago

codeonwort commented 1 year ago

multithreading_architecture

This is what I wanted when I was implementing render thread, but currently the engine is not working like this.

Currently main thread tick is somehow bound at glutDisplayFunc's frequency, and I don't remember why I did this??? :(


Old render thread PR: https://github.com/codeonwort/pathosengine/pull/24

codeonwort commented 1 year ago

wip

Working on fix and looks promising