Revert "Fixed test for 16-bit index range".
TRAC #19988
Issue=304
Signed-off-by: Daniel Koch
git-svn-id: https://angleproject.googlecode.com/svn/trunk@998 736b8ea6-26fd-11df-bfd4-992fa37f6226
diff --git a/src/libGLESv2/IndexDataManager.cpp b/src/libGLESv2/IndexDataManager.cpp
index d374d1c..3dc0aef 100644
--- a/src/libGLESv2/IndexDataManager.cpp
+++ b/src/libGLESv2/IndexDataManager.cpp
@@ -228,7 +228,7 @@
StaticIndexBuffer *IndexDataManager::getCountingIndices(GLsizei count)
{
- if (count < 65536) // 16-bit indices
+ if (count <= 65536) // 16-bit indices
{
const unsigned int spaceNeeded = count * sizeof(unsigned short);