Changeset 21563 in vbox
- Timestamp:
- Jul 14, 2009 8:44:22 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50039
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_client.c
r21379 r21563 598 598 } 599 599 600 if (size != 3) 600 /*Note: According to opengl spec, only size==3 should be accepted here. 601 *But it turns out that most drivers accept size==4 here as well, and 4th value 602 *could even be accessed in shaders code. 603 *Having a strict check here, leads to difference between guest and host gpu states, which 604 *in turn could lead to crashes when using server side VBOs. 605 *@todo: add error reporting to state's VBO related functions and abort dispatching to 606 *real gpu on any failure to prevent other possible issues. 607 */ 608 609 if ((size != 3) && (size != 4)) 601 610 { 602 611 crStateError(__LINE__, __FILE__, GL_INVALID_VALUE, "glSecondaryColorPointerEXT: invalid size: %d", size);
Note:
See TracChangeset
for help on using the changeset viewer.