]> git.sesse.net Git - nageru/commit
Fix behavior around reconfigure.
authorSteinar H. Gunderson <steinar+nageru@gunderson.no>
Tue, 12 May 2020 20:09:24 +0000 (22:09 +0200)
committerSteinar H. Gunderson <steinar+nageru@gunderson.no>
Tue, 12 May 2020 20:10:49 +0000 (22:10 +0200)
commit0478d360a9aa0f816b21b0c6b1df91c1426c35d6
tree0f80f66d2fc0e2af6df8854c866bfea5e1eec793
parent11d27b16a092efb99c045b21903da0eb7ee8c4d1
Fix behavior around reconfigure.

When disconnecting a fake card and replacing it with an SRT card
(or, theoretically, vice versa), we'd delete the old frames assuming
the old pixel format, which would cause us to delete garbage data
and eventually (seemingly?) use deleted texture numbers, causing
GL errors and thus crashes.
nageru/pbo_frame_allocator.cpp