diff options
Diffstat (limited to 'Source/WebCore/html/canvas/WebGLDepthTexture.cpp')
| -rw-r--r-- | Source/WebCore/html/canvas/WebGLDepthTexture.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebCore/html/canvas/WebGLDepthTexture.cpp b/Source/WebCore/html/canvas/WebGLDepthTexture.cpp index 8fd907935..71a8da7d4 100644 --- a/Source/WebCore/html/canvas/WebGLDepthTexture.cpp +++ b/Source/WebCore/html/canvas/WebGLDepthTexture.cpp @@ -33,7 +33,7 @@ namespace WebCore { -WebGLDepthTexture::WebGLDepthTexture(WebGLRenderingContextBase* context) +WebGLDepthTexture::WebGLDepthTexture(WebGLRenderingContext* context) : WebGLExtension(context) { } @@ -47,6 +47,11 @@ WebGLExtension::ExtensionName WebGLDepthTexture::getName() const return WebGLDepthTextureName; } +OwnPtr<WebGLDepthTexture> WebGLDepthTexture::create(WebGLRenderingContext* context) +{ + return adoptPtr(new WebGLDepthTexture(context)); +} + bool WebGLDepthTexture::supported(GraphicsContext3D* context) { Extensions3D* extensions = context->getExtensions(); |
