mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-07 08:20:01 +01:00
Initial commit of Video Streamer. bugFix delete Pbos.
This commit is contained in:
@@ -632,7 +632,7 @@ void MediaPlayer::init_texture(guint index)
|
||||
}
|
||||
else {
|
||||
// did not work, disable PBO
|
||||
glDeleteBuffers(4, pbo_);
|
||||
glDeleteBuffers(2, pbo_);
|
||||
pbo_[0] = pbo_[1] = 0;
|
||||
pbo_size_ = 0;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user