Skip to content

Commit

Permalink
Remove Shader.glslVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
nightgryphon committed Jul 17, 2023
1 parent f682e85 commit b0eecd8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/core/shader.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ Shader.prototype = {
'gl_FragColor = vec4(1.0, 0.0, 1.0, 1.0);' +
'}',

glslVersion: null,

/**
* Init handler. Similar to attachedCallback.
* Called during shader initialization and is only run once.
Expand Down
2 changes: 1 addition & 1 deletion src/shaders/msdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,5 @@ module.exports.Shader = registerShader('msdf', {

vertexShader: VERTEX_SHADER,

fragmentShader: FRAGMENT_SHADER,
fragmentShader: FRAGMENT_SHADER
});
2 changes: 1 addition & 1 deletion src/shaders/sdf.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ module.exports.Shader = registerShader('sdf', {

vertexShader: VERTEX_SHADER,

fragmentShader: FRAGMENT_SHADER,
fragmentShader: FRAGMENT_SHADER
});

0 comments on commit b0eecd8

Please sign in to comment.