From 238f1b9449a93ba8eef20c6481413eeeae80b828 Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Wed, 10 Jan 2018 19:43:28 -0800 Subject: [PATCH] Support normal vertex format --- libraries/gpu-gles/src/gpu/gl/GLShared.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/gpu-gles/src/gpu/gl/GLShared.h b/libraries/gpu-gles/src/gpu/gl/GLShared.h index 5b25e55c82..89c567ff78 100644 --- a/libraries/gpu-gles/src/gpu/gl/GLShared.h +++ b/libraries/gpu-gles/src/gpu/gl/GLShared.h @@ -109,7 +109,8 @@ static const GLenum ELEMENT_TYPE_TO_GL[gpu::NUM_TYPES] = { GL_UNSIGNED_SHORT, GL_BYTE, GL_UNSIGNED_BYTE, - GL_UNSIGNED_BYTE + GL_UNSIGNED_BYTE, + GL_INT_2_10_10_10_REV, }; bool checkGLError(const char* name = nullptr);