VirtualBox

Ignore:
Timestamp:
Jun 26, 2009 12:26:49 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
49168
Message:

crOpenGL: fix incorrect rendering of glDrawRangeElements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/packer/pack_client.c

    r15532 r20970  
    437437        {
    438438        case GL_UNSIGNED_BYTE:
    439                 for (i=start; i<count; i++)
     439                for (i=0; i<count; i++)
    440440                {
    441441                        crPackExpandArrayElement((GLint) *p++, c);
     
    443443                break;
    444444        case GL_UNSIGNED_SHORT:
    445                 for (i=start; i<count; i++)
     445                for (i=0; i<count; i++)
    446446                {
    447447                        crPackExpandArrayElement((GLint) * (GLushort *) p, c);
     
    450450                break;
    451451        case GL_UNSIGNED_INT:
    452                 for (i=start; i<count; i++)
     452                for (i=0; i<count; i++)
    453453                {
    454454                        crPackExpandArrayElement((GLint) * (GLuint *) p, c);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette