Commit 6d27c880 by Nicolas Capens

Treat unsized RGBA/RGB textures as renderable.

Bug 28929520 Change-Id: I94fcac3149fafd422e1879360109b668a2ca6029 Reviewed-on: https://swiftshader-review.googlesource.com/5410Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 7b2403b1
...@@ -1010,6 +1010,8 @@ namespace es2 ...@@ -1010,6 +1010,8 @@ namespace es2
{ {
switch(internalformat) switch(internalformat)
{ {
case GL_RGB:
case GL_RGBA:
case GL_RGBA4: case GL_RGBA4:
case GL_RGB5_A1: case GL_RGB5_A1:
case GL_RGB565: case GL_RGB565:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment