remove switch rgba
Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
parent
c5922f891f
commit
96ed6df4a9
4 changed files with 0 additions and 38 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue