Delay initialising lens distortion shader so GLES2 doesn't crash
This commit is contained in:
parent
af93842f93
commit
4194581823
2 changed files with 63 additions and 44 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue