Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dreveman:openSUSE:11.1:cr
cr
cr-pack-expand-draw-range-elements-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cr-pack-expand-draw-range-elements-fix.diff of Package cr
commit 6b8097bba028d4a103716f73b04bfa26bff9ad0e Author: David Reveman <davidr@novell.com> Date: Thu Apr 2 17:06:57 2009 -0400 Fix crPackExpandDrawRangeElements. diff --git a/packer/pack_client.c b/packer/pack_client.c index 2c2f946..f816a8d 100644 --- a/packer/pack_client.c +++ b/packer/pack_client.c @@ -436,20 +436,20 @@ crPackExpandDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei cou switch (type) { case GL_UNSIGNED_BYTE: - for (i=start; i<count; i++) + for (i=0; i<count; i++) { crPackExpandArrayElement((GLint) *p++, c); } break; case GL_UNSIGNED_SHORT: - for (i=start; i<count; i++) + for (i=0; i<count; i++) { crPackExpandArrayElement((GLint) * (GLushort *) p, c); p += sizeof(GLushort); } break; case GL_UNSIGNED_INT: - for (i=start; i<count; i++) + for (i=0; i<count; i++) { crPackExpandArrayElement((GLint) * (GLuint *) p, c); p += sizeof(GLuint);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor