# HG changeset patch # User John Tsiombikas # Date 1411093820 -10800 # Node ID b71314e80654a078b490697075fa8283a6d0ea13 # Parent e63cb28fc644568364dfc4e845d9e15bc1a6662e fixed the null plugin diff -r e63cb28fc644 -r b71314e80654 example/src/main.c --- a/example/src/main.c Thu Sep 18 10:56:45 2014 +0300 +++ b/example/src/main.c Fri Sep 19 05:30:20 2014 +0300 @@ -96,8 +96,7 @@ update_rtarg(fb_width, fb_height); /* set our render texture and its active area */ - vr_output_texture(fb_tex, 0, (float)(fb_tex_height - fb_height) / (float)fb_tex_height, - (float)fb_width / (float)fb_tex_width, 1.0); + vr_output_texture(fb_tex, 0, 0, (float)fb_width / (float)fb_tex_width, (float)fb_height / (float)fb_tex_height); glEnable(GL_DEPTH_TEST); glEnable(GL_CULL_FACE);