webgl: Support RGB color attachments for complete framebuffers.

This commit is contained in:
Josh Matthews 2019-09-19 17:43:48 -04:00
parent 46b1d8faee
commit 7e4cf13f5b
2 changed files with 2 additions and 5 deletions

View file

@ -177,6 +177,7 @@ impl WebGLFramebuffer {
constants::RGB5_A1,
constants::RGB565,
constants::RGBA,
constants::RGB,
][..],
&[constants::DEPTH_COMPONENT16][..],
&[constants::STENCIL_INDEX8][..],