summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/canvas/OESTextureHalfFloat.cpp')
-rw-r--r--Source/WebCore/html/canvas/OESTextureHalfFloat.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp b/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
index bdd167c03..fd2e25bd2 100644
--- a/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
+++ b/Source/WebCore/html/canvas/OESTextureHalfFloat.cpp
@@ -31,7 +31,7 @@
namespace WebCore {
-OESTextureHalfFloat::OESTextureHalfFloat(WebGLRenderingContextBase* context)
+OESTextureHalfFloat::OESTextureHalfFloat(WebGLRenderingContext* context)
: WebGLExtension(context)
{
}
@@ -45,6 +45,11 @@ WebGLExtension::ExtensionName OESTextureHalfFloat::getName() const
return OESTextureHalfFloatName;
}
+OwnPtr<OESTextureHalfFloat> OESTextureHalfFloat::create(WebGLRenderingContext* context)
+{
+ return adoptPtr(new OESTextureHalfFloat(context));
+}
+
} // namespace WebCore
#endif // ENABLE(WEBGL)