1
0
Fork 0
forked from wry/wry

video: add support for a/xbgr8888 formats

This commit is contained in:
Julian Orth 2022-10-10 19:02:20 +02:00
parent ab6a39bd34
commit 8059457afb
2 changed files with 28 additions and 2 deletions

View file

@ -13,6 +13,7 @@ pub type GLuint = c::c_uint;
egl_transparent!(GLeglImageOES);
pub const GL_RGBA: GLint = 0x1908;
pub const GL_BGRA_EXT: GLint = 0x80E1;
pub const GL_CLAMP_TO_EDGE: GLint = 0x812F;
pub const GL_COLOR_ATTACHMENT0: GLenum = 0x8CE0;