]> git.sesse.net Git - nageru/commit
When reconfiguring a PBO frame allocator, don't reuse userdata.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 10 May 2020 17:33:11 +0000 (19:33 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 10 May 2020 17:34:55 +0000 (19:34 +0200)
commitf4dc4d6d393026a5507be1f04a9149f6b8c2322c
tree2282bf658ceee2f259ff8c01d474dfd9bfb75215
parentafd3391c734ec861d2be4f543e596ad98d6b557e
When reconfiguring a PBO frame allocator, don't reuse userdata.

This would cause odd stuttering, as old and new frames would share
userdata briefly, causing chaos.
nageru/pbo_frame_allocator.cpp
nageru/pbo_frame_allocator.h