From e0948892fd67ef1c38a86e412683bc6d96840f72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mika=20Isoj=C3=A4rvi?= Date: Mon, 16 Mar 2015 13:48:44 -0700 Subject: [PATCH] Fix broken build in indexed draw buffers tests. Change-Id: I2635f5b43296a8e5fe1928dbec8c00dae0fcbaa7 --- modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp b/modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp index ceccb05..f851c70 100644 --- a/modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp +++ b/modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp @@ -1294,7 +1294,7 @@ TextureFormat getRandomFormat (de::Random& rng) GL_RGBA32UI }; - return glu::mapGLInternalFormat(de::getSizedArrayElement(glFormats, rng.getUint32() % DE_LENGTH_OF_ARRAY(glFormats))); + return glu::mapGLInternalFormat(de::getArrayElement(glFormats, rng.getUint32() % DE_LENGTH_OF_ARRAY(glFormats))); } void genRandomTest (de::Random& rng, BlendState& preCommon, BlendState& postCommon, vector& drawBuffers, int maxDrawBufferCount) -- 2.7.4