Skip to content

Commit

Permalink
Specify opengl version
Browse files Browse the repository at this point in the history
  • Loading branch information
dagit committed Oct 6, 2022
1 parent ce45bb5 commit 29b1b5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,7 @@ impl eframe::App for LiveSplitCoreRenderer {
let vert = gl.create_shader(glow::VERTEX_SHADER).expect("create vert");
debug_assert!(gl.get_error() == 0, "1");
let source = "
#version 140
uniform vec2 u_screen_size;
attribute vec2 a_pos;
attribute vec2 a_tc;
Expand Down Expand Up @@ -672,6 +673,7 @@ void main() {
.create_shader(glow::FRAGMENT_SHADER)
.expect("crate fragment");
let source = "
#version 140
uniform sampler2D u_sampler;
varying vec2 v_tc;
Expand Down

0 comments on commit 29b1b5d

Please sign in to comment.