Skip to content

Commit

Permalink
Compile fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Jan 26, 2024
1 parent 0c32bd5 commit cae8892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/Sources/NodeShader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ class NodeShader {
///elseif krom_android
let version_header = '#version 300 es\n';
if (raw.shader_type == 'frag') {
s += 'precision highp float;\n';
s += 'precision mediump int;\n';
version_header += 'precision highp float;\n';
version_header += 'precision mediump int;\n';
}
let s = NodeShader.get_glsl(raw, sharedSampler, version_header);
///elseif krom_opengl
Expand Down

0 comments on commit cae8892

Please sign in to comment.