Commit 34fefb7e by Geoff Lang Committed by Commit Bot

Fix initialization of Caps members.

sRGB was never initialized and maxTextureAnisotropy was initialized with a bool instead of a float. BUG=602737 Change-Id: Ied7c27d1dbdbec96f8aead618132b4f59892bd99 Reviewed-on: https://chromium-review.googlesource.com/442668Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>
parent 485eefdd
...@@ -153,13 +153,14 @@ Extensions::Extensions() ...@@ -153,13 +153,14 @@ Extensions::Extensions()
textureCompressionASTCHDR(false), textureCompressionASTCHDR(false),
textureCompressionASTCLDR(false), textureCompressionASTCLDR(false),
compressedETC1RGB8Texture(false), compressedETC1RGB8Texture(false),
sRGB(false),
depthTextures(false), depthTextures(false),
depth32(false), depth32(false),
textureStorage(false), textureStorage(false),
textureNPOT(false), textureNPOT(false),
drawBuffers(false), drawBuffers(false),
textureFilterAnisotropic(false), textureFilterAnisotropic(false),
maxTextureAnisotropy(false), maxTextureAnisotropy(0.0f),
occlusionQueryBoolean(false), occlusionQueryBoolean(false),
fence(false), fence(false),
timerQuery(false), timerQuery(false),
......
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