Initial commit of Video Streamer. bugFix delete Pbos.

This commit is contained in:
brunoherbelin
2020-10-14 22:58:02 +02:00
parent 3a41e59f00
commit 007d876dbc
7 changed files with 119 additions and 12 deletions

View File

@@ -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;