Changeset 20970 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jun 26, 2009 12:26:49 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/array/arrayspu.c
r20476 r20970 509 509 } 510 510 511 static void ARRAYSPU_APIENTRY arrayspu_DrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) 512 { 513 if (start>end) 514 { 515 crError("array_spu.self.arrayspu_DrawRangeElements start>end (%d>%d)", start, end); 516 } 517 518 arrayspu_DrawElements(mode, count, type, indices); 519 } 520 511 521 static void ARRAYSPU_APIENTRY arrayspu_ColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer ) 512 522 { … … 677 687 arrayspu_PushClientAttrib( GLbitfield mask ) 678 688 { 679 680 689 crStatePushClientAttrib(mask); 690 array_spu.child.PushClientAttrib(mask); 681 691 } 682 692 … … 685 695 arrayspu_PopClientAttrib( void ) 686 696 { 687 688 697 crStatePopClientAttrib(); 698 array_spu.child.PopClientAttrib(); 689 699 } 690 700 … … 855 865 { "DrawArrays", (SPUGenericFunction) arrayspu_DrawArrays}, 856 866 { "DrawElements", (SPUGenericFunction) arrayspu_DrawElements}, 867 { "DrawRangeElements", (SPUGenericFunction) arrayspu_DrawRangeElements}, 857 868 { "ColorPointer", (SPUGenericFunction) arrayspu_ColorPointer}, 858 869 { "SecondaryColorPointerEXT", (SPUGenericFunction) arrayspu_SecondaryColorPointerEXT},
Note:
See TracChangeset
for help on using the changeset viewer.