Delay initialising lens distortion shader so GLES2 doesn't crash

This commit is contained in:
Bastiaan Olij 2018-08-16 20:42:47 +10:00
parent af93842f93
commit 4194581823
2 changed files with 63 additions and 44 deletions

View file

@ -58,7 +58,7 @@ private:
float eye_height;
uint64_t last_ticks;
LensDistortedShaderGLES3 lens_shader;
LensDistortedShaderGLES3 *lens_shader;
GLuint half_screen_quad;
GLuint half_screen_array;