diff options
author | Niklas Haas <git@haasn.xyz> | 2017-08-07 17:42:50 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-08-07 17:47:04 +0200 |
commit | bed421d4832179fc6254a6f54e2f779afe40ad63 (patch) | |
tree | 625709da3fd1c2b5aefb5fc1f9be0e6e3a4431d7 /video/out/opengl/ra_gl.h | |
parent | ecbb02148b2f5afb6920c33a8d5bb8d3cd44b3a8 (diff) | |
download | mpv-bed421d4832179fc6254a6f54e2f779afe40ad63.tar.bz2 mpv-bed421d4832179fc6254a6f54e2f779afe40ad63.tar.xz |
vo_opengl: nuke ra_gl->first_run
Completely unnecessary, we can just update the uniforms immediately
after creating the program. In theory, for GLSL 4.20+, we could even
skip this, but oh well.
Diffstat (limited to 'video/out/opengl/ra_gl.h')
-rw-r--r-- | video/out/opengl/ra_gl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/opengl/ra_gl.h b/video/out/opengl/ra_gl.h index 6270daba92..3a48ca4556 100644 --- a/video/out/opengl/ra_gl.h +++ b/video/out/opengl/ra_gl.h @@ -35,7 +35,6 @@ struct ra_renderpass_gl { GLint *uniform_loc; int num_uniform_loc; // == ra_renderpass_params.num_inputs struct gl_vao vao; - bool first_run; }; int ra_init_gl(struct ra *ra, GL *gl); |