Using vec4 for color (adding alpha)

This commit is contained in:
brunoherbelin
2020-04-11 22:30:19 +02:00
parent 3c12baffc5
commit bf953b328a
22 changed files with 308 additions and 230 deletions

View File

@@ -207,6 +207,7 @@ void MediaPlayer::close()
}
// nothing to display
glDeleteTextures(1, &textureindex_);
textureindex_ = Resource::getTextureBlack();
// un-ready the media player