Cosmetics appearance shadow and frame. Cleanup rsc folder

This commit is contained in:
brunoherbelin
2020-06-04 22:46:08 +02:00
parent fd0b16edb0
commit 14f7543f02
12 changed files with 133 additions and 121 deletions

View File

@@ -467,7 +467,8 @@ void MediaPlayer::update()
glGenTextures(1, &textureindex_);
glBindTexture(GL_TEXTURE_2D, textureindex_);
glPixelStorei(GL_UNPACK_ALIGNMENT, 4);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width_, height_,
0, GL_RGBA, GL_UNSIGNED_BYTE, v_frame_.data[0]);
}