diff --git a/src/jax/webgl/texture.js b/src/jax/webgl/texture.js
index <HASH>..<HASH> 100644
--- a/src/jax/webgl/texture.js
+++ b/src/jax/webgl/texture.js
@@ -152,13 +152,17 @@ Jax.Texture = (function() {
       context.glPixelStorei(GL_UNPACK_COLORSPACE_CONVERSION_WEBGL, this.options.colorspace_conversion ? GL_BROWSER_DEFAULT_WEBGL : GL_NONE);
       
       if (this.generate_mipmap) {
-        context.glHint(this.options.mipmap_hint);
-        context.glGenerateMipmap(this.options.target);
+        this.generateMipmap(context);
       }
       
       this.valid[context.id] = true;
     },
     
+    generateMipmap: function(context) {
+      context.glHint(this.options.mipmap_hint);
+      context.glGenerateMipmap(this.options.target);
+    },
+    
     invalidate: function() { this.valid.clear(); },
     
     dispose: function(context) {
Added Jax.Texture#generateMipmap() allow manual generation of mipmaps