potocpav / python-concur

Concur UI Framework for Python
MIT License
48 stars 2 forks source link

Image is drawn one frame too early #6

Closed potocpav closed 4 years ago

potocpav commented 4 years ago

This causes overlay to be out of sync with image data. May also be the cause of crashes on newer PyOpenGL

potocpav commented 4 years ago

Solved by holding the old texture ID for some extra frames, akin to double buffering. Crashes were a separate issue caused by glGenTextures returning np.int32 instead of int.