mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Fix missing alpha value when using CompositeTarget::Fbo (#32453)
This commit is contained in:
parent
855f32013f
commit
a91faa7207
1 changed files with 2 additions and 2 deletions
|
@ -31,11 +31,11 @@ impl RenderTargetInfo {
|
||||||
gl.tex_image_2d(
|
gl.tex_image_2d(
|
||||||
gl::TEXTURE_2D,
|
gl::TEXTURE_2D,
|
||||||
0,
|
0,
|
||||||
gl::RGB as gl::GLint,
|
gl::RGBA as gl::GLint,
|
||||||
width.get() as gl::GLsizei,
|
width.get() as gl::GLsizei,
|
||||||
height.get() as gl::GLsizei,
|
height.get() as gl::GLsizei,
|
||||||
0,
|
0,
|
||||||
gl::RGB,
|
gl::RGBA,
|
||||||
gl::UNSIGNED_BYTE,
|
gl::UNSIGNED_BYTE,
|
||||||
None,
|
None,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue