- Timestamp:
- Feb 29, 2012 3:07:21 PM (13 years ago)
- Location:
- trunk/src/VBox/GuestHost/OpenGL/state_tracker
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_client.c
r38600 r40301 909 909 FLUSH(); 910 910 911 if (index > CR_MAX_VERTEX_ATTRIBS)911 if (index >= CR_MAX_VERTEX_ATTRIBS) 912 912 { 913 913 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, "glVertexAttribPointerARB: invalid index: %d", (int) index); -
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_regcombiner.c
r33540 r40301 543 543 } 544 544 545 if (i < 0 || i > CR_MAX_GENERAL_COMBINERS) {545 if (i < 0 || i >= CR_MAX_GENERAL_COMBINERS) { 546 546 crStateError(__LINE__, __FILE__, GL_INVALID_ENUM, 547 547 "GetCombinerInputParameterivNV(stage=0x%x)", stage);
Note:
See TracChangeset
for help on using the changeset viewer.