changed gs_draw_sprite to allow custom sizes, added output textures to the core, and adjusted the test code to accommodate the changes

This commit is contained in:
jp9000
2013-11-26 22:26:14 -07:00
parent 32e34ffe25
commit 58810f9806
8 changed files with 31 additions and 15 deletions

View File

@@ -78,7 +78,7 @@ void test_video_render(struct test_filter *tf)
technique_begin(tech);
technique_beginpass(tech, 0);
gs_draw_sprite(tex, 0);
gs_draw_sprite(tex, 0, 0, 0);
technique_endpass(tech);
technique_end(tech);

View File

@@ -77,7 +77,7 @@ void random_video_render(struct random_tex *rt, obs_source_t filter_target)
technique_begin(tech);
technique_beginpass(tech, 0);
gs_draw_sprite(rt->texture, 0);
gs_draw_sprite(rt->texture, 0, 0, 0);
technique_endpass(tech);
technique_end(tech);