Changeset 33548 in vbox
- Timestamp:
- Oct 28, 2010 10:43:39 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_program.c
r15532 r33548 1590 1590 CRContext *g = GetCurrentContext(); 1591 1591 CRClientState *c = &(g->client); 1592 CRStateBits *sb = GetCurrentBits(); 1593 CRClientBits *cb = &(sb->client); 1594 1592 1595 if (index >= g->limits.maxVertexProgramAttribs) { 1593 1596 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, … … 1596 1599 } 1597 1600 c->array.a[index].enabled = GL_FALSE; 1601 DIRTY(cb->dirty, g->neg_bitid); 1602 DIRTY(cb->enableClientState, g->neg_bitid); 1598 1603 } 1599 1604 … … 1603 1608 CRContext *g = GetCurrentContext(); 1604 1609 CRClientState *c = &(g->client); 1610 CRStateBits *sb = GetCurrentBits(); 1611 CRClientBits *cb = &(sb->client); 1612 1605 1613 if (index >= g->limits.maxVertexProgramAttribs) { 1606 1614 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, … … 1609 1617 } 1610 1618 c->array.a[index].enabled = GL_TRUE; 1619 DIRTY(cb->dirty, g->neg_bitid); 1620 DIRTY(cb->enableClientState, g->neg_bitid); 1611 1621 } 1612 1622
Note:
See TracChangeset
for help on using the changeset viewer.