Changeset 20476 in vbox
- Timestamp:
- Jun 11, 2009 2:46:20 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/array/arrayspu.c
r16074 r20476 640 640 } 641 641 642 642 /*@todo: it's a hack, as GLSL shouldn't blindly reuse this bit from nv_vertex_program*/ 643 static void ARRAYSPU_APIENTRY arrayspu_UseProgram(GLuint program) 644 { 645 crStateGetCurrent()->program.vpEnabled = program>0; 646 array_spu.child.UseProgram(program); 647 } 643 648 644 649 static void ARRAYSPU_APIENTRY … … 887 892 { "MakeCurrent", (SPUGenericFunction) arrayspu_MakeCurrent}, 888 893 { "DestroyContext", (SPUGenericFunction) arrayspu_DestroyContext}, 894 { "UseProgram", (SPUGenericFunction) arrayspu_UseProgram}, 889 895 { NULL, NULL } 890 896 };
Note:
See TracChangeset
for help on using the changeset viewer.