Skip to content

Commit

Permalink
1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciogonzalezvivo committed Jun 12, 2018
1 parent 1ca0b84 commit 1f48bb8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions dist/GlslCanvas.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,6 @@ function subscribeMixin$1(target) {
}

// Texture management
// GL texture wrapper object for keeping track of a global set of textures, keyed by a unique user-defined name

var Texture = function () {
function Texture(gl, name) {
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
Expand Down Expand Up @@ -941,6 +939,9 @@ var Texture = function () {
return Texture;
}();

// Report max texture size for a GL context


Texture.getMaxTextureSize = function (gl) {
return gl.getParameter(gl.MAX_TEXTURE_SIZE);
};
Expand Down
5 changes: 3 additions & 2 deletions dist/GlslCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -1050,8 +1050,6 @@ function subscribeMixin$1(target) {
}

// Texture management
// GL texture wrapper object for keeping track of a global set of textures, keyed by a unique user-defined name

var Texture = function () {
function Texture(gl, name) {
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
Expand Down Expand Up @@ -1346,6 +1344,9 @@ var Texture = function () {
return Texture;
}();

// Report max texture size for a GL context


Texture.getMaxTextureSize = function (gl) {
return gl.getParameter(gl.MAX_TEXTURE_SIZE);
};
Expand Down
5 changes: 3 additions & 2 deletions lib/GlslCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -1046,8 +1046,6 @@ function subscribeMixin$1(target) {
}

// Texture management
// GL texture wrapper object for keeping track of a global set of textures, keyed by a unique user-defined name

var Texture = function () {
function Texture(gl, name) {
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
Expand Down Expand Up @@ -1342,6 +1340,9 @@ var Texture = function () {
return Texture;
}();

// Report max texture size for a GL context


Texture.getMaxTextureSize = function (gl) {
return gl.getParameter(gl.MAX_TEXTURE_SIZE);
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "glslCanvas",
"version": "0.1.1",
"version": "0.1.2",
"description": "Simple GLSL Fragment Shader Sandbox",
"main": "lib/GlslCanvas.js",
"module": "dist/GlslCanvas.es.js",
Expand Down

0 comments on commit 1f48bb8

Please sign in to comment.