summaryrefslogtreecommitdiffstats
path: root/dom/canvas/WebGLTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/canvas/WebGLTexture.h')
-rw-r--r--dom/canvas/WebGLTexture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/canvas/WebGLTexture.h b/dom/canvas/WebGLTexture.h
index 66e781f23..8d3024590 100644
--- a/dom/canvas/WebGLTexture.h
+++ b/dom/canvas/WebGLTexture.h
@@ -386,6 +386,7 @@ public:
bool* const out_initFailed);
bool IsMipmapCubeComplete() const;
+ void Truncate();
bool IsCubeMap() const { return (mTarget == LOCAL_GL_TEXTURE_CUBE_MAP); }