remove switch rgba

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-11-26 22:02:57 +08:00
parent c5922f891f
commit 96ed6df4a9
4 changed files with 0 additions and 38 deletions

View file

@ -154,7 +154,6 @@ extern "C" {
// copy data to the texture.
auto copied_data = new uint8_t[len];
memcpy(copied_data, buffer, len);
switch_rgba(copied_data, len, height);
// It's safe to working on a non reading index
g_atomic_pointer_set(&self->buffer, copied_data);
g_atomic_int_set(&self->video_height, height);