Commit a8e3494e by Geoff Lang

Don't force using sized internal texture formats for OpenGL ES.

* LUMA formats don't have sized versions without specific extensions. * This allows a more direct translation, the driver should do the right thing. BUG=angleproject:884 BUG=angleproject:1145 Change-Id: I2ad13db7216eb7c715621a237b13ae9e3035310a Reviewed-on: https://chromium-review.googlesource.com/322694Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent b2d9ab67
...@@ -339,10 +339,6 @@ static GLenum GetNativeInternalFormat(const FunctionsGL *functions, ...@@ -339,10 +339,6 @@ static GLenum GetNativeInternalFormat(const FunctionsGL *functions,
} }
} }
} }
else if (functions->isAtLeastGLES(gl::Version(3, 0)))
{
result = sizedInternalFormat;
}
return result; return result;
} }
......
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