oculus1

diff src/vr.h @ 18:1b107de821c1

fixed the test to work with non-pow2 textures
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 26 Sep 2013 10:33:08 +0300
parents f3672317e5c2
children
line diff
     1.1 --- a/src/vr.h	Sat Sep 21 07:09:48 2013 +0300
     1.2 +++ b/src/vr.h	Thu Sep 26 10:33:08 2013 +0300
     1.3 @@ -54,7 +54,7 @@
     1.4  void vr_get_rotation_euler(float *euler);
     1.5  
     1.6  /* OpenGL stuff */
     1.7 -void vr_draw_eye(unsigned int tex, int eye);
     1.8 +void vr_draw_eye(int eye, unsigned int tex, float tex_scale_x, float tex_scale_y);
     1.9  
    1.10  #ifdef __cplusplus
    1.11  }