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:
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user