Fixed the drawArrays() method checking of _drawArrayPtr

This commit is contained in:
Robert Osfield
2006-09-12 15:21:41 +00:00
parent c7906d5412
commit 515225cfb9

View File

@@ -71,7 +71,7 @@ public:
virtual void drawArrays(GLenum mode,GLint first,GLsizei count)
{
if (_vertexArrayPtr==0 && count==0) return;
if (_vertexArrayPtr==0 || count==0) return;
switch(mode)
{