diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2017-01-23 22:38:40 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2017-01-23 22:38:40 +0200 |
commit | 29fba4d0f06d8b14fb433f723888d79f6178257b (patch) | |
tree | f87b28fd715501e842dfbf67c5c4b1e2dfcd047a | |
parent | f3c03cbfbc0391d0c1e5d0cb110b6304e474d552 (diff) |
Use rgb0 as video type for ES so we ignore alpha
-rw-r--r-- | glcapture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glcapture.c b/glcapture.c index a271f99..37f99eb 100644 --- a/glcapture.c +++ b/glcapture.c @@ -334,7 +334,7 @@ capture_frame_pbo(struct gl *gl, const GLint view[4], const uint64_t ts) } frame = { // XXX: Maybe on ES we should instead modify the data and remove A component? // Would save some transmission bandwidth at least - .video = (OPENGL_VARIANT == OPENGL_ES ? "rgba" : "rgb"), + .video = (OPENGL_VARIANT == OPENGL_ES ? "rgb0" : "rgb"), .format = (OPENGL_VARIANT == OPENGL_ES ? GL_RGBA : GL_RGB), .components = (OPENGL_VARIANT == OPENGL_ES ? 4 : 3), }; |