Request GLSL version 3.30. (#1639)

This commit is contained in:
Sebastian Urban 2022-05-21 12:52:20 +02:00 committed by GitHub
parent 27cca111c8
commit 5687aa6b50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -85,7 +85,7 @@ impl RotatingTriangle {
let shader_version = if cfg!(target_arch = "wasm32") {
"#version 300 es"
} else {
"#version 410"
"#version 330"
};
unsafe {

View file

@ -100,7 +100,7 @@ impl RotatingTriangle {
let shader_version = if cfg!(target_arch = "wasm32") {
"#version 300 es"
} else {
"#version 410"
"#version 330"
};
unsafe {