add frame flipping code

This commit is contained in:
jp9000
2013-10-26 15:05:51 -07:00
parent 7dada3bef4
commit d2ba08e46b
6 changed files with 41 additions and 19 deletions

View File

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

View File

@@ -68,7 +68,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);
gs_draw_sprite(rt->texture, 0);
technique_endpass(tech);
technique_end(tech);