]> git.sesse.net Git - nageru/commit
Fix some issues with cards changing pixel format on-the-fly.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 10 May 2020 16:14:10 +0000 (18:14 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 10 May 2020 16:14:10 +0000 (18:14 +0200)
commitafd3391c734ec861d2be4f543e596ad98d6b557e
treeab58a6f8175fbb68bcc3b68d61fd22a1923ee1b5
parentf1d8decc4a0e0d94f83c97c4488cf3bd423951d2
Fix some issues with cards changing pixel format on-the-fly.

If a card came back with another pixel format than before,
we would still allocate frames with the same pixel format,
which obviously didn't work.

This is very unlikely to happen in the current situation
(or even impossible?), but needs to be fixed for upcoming patches.
nageru/mixer.cpp
nageru/pbo_frame_allocator.cpp
nageru/pbo_frame_allocator.h