From 3e4878e925a4ce7bc2052494f904f0ca49d4f2c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jarkko=20P=C3=B6yry?= Date: Tue, 3 Mar 2015 12:54:18 -0800 Subject: [PATCH] Expect width and height = 1, not default, for textures with no such dimension. - Expect DEPTH = 1 for 2D texures. This is consistent with the spec's definition of a 2D texel array. (Texture level represents a texel array.) - Expect HEIGHT = 1 for 1D (buffer) textures for consistency. - Fix texture buffer buffer leak. Bug: 19578475 Change-Id: Ieea2ebc0f21746fe64c5b8c6668cf92921e7ea88 --- .../es31fTextureLevelStateQueryTests.cpp | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/modules/gles31/functional/es31fTextureLevelStateQueryTests.cpp b/modules/gles31/functional/es31fTextureLevelStateQueryTests.cpp index 0b9d0a231..9ffd21cda 100644 --- a/modules/gles31/functional/es31fTextureLevelStateQueryTests.cpp +++ b/modules/gles31/functional/es31fTextureLevelStateQueryTests.cpp @@ -411,7 +411,7 @@ static void generateColorTextureGenerationGroup (std::vector