Index: Source/core/html/canvas/WebGLRenderingContext.cpp |
diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp |
index 221ff1f7aabbb31d24782801a948c7963697b62d..4bdfcb6895ad709408d2c7f9325398869773c090 100644 |
--- a/Source/core/html/canvas/WebGLRenderingContext.cpp |
+++ b/Source/core/html/canvas/WebGLRenderingContext.cpp |
@@ -3783,13 +3783,6 @@ void WebGLRenderingContext::texImage2DImpl(GC3Denum target, GC3Dint level, GC3De |
bool WebGLRenderingContext::validateTexFunc(const char* functionName, TexFuncValidationFunctionType functionType, TexFuncValidationSourceType sourceType, GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height, GC3Dint border, GC3Denum format, GC3Denum type, GC3Dint xoffset, GC3Dint yoffset) |
{ |
- // FIXME: Uploading {ImageData, HTMLImageElement, HTMLCanvasElement, HTMLVideoElement} to half floating point texture is not supported yet. |
- // See https://bugs.webkit.org/show_bug.cgi?id=110936. |
- if (sourceType != SourceArrayBufferView && type == GraphicsContext3D::HALF_FLOAT_OES) { |
- synthesizeGLError(GraphicsContext3D::INVALID_OPERATION, functionName, "Operation not supported yet"); |
- return false; |
- } |
- |
if (!validateTexFuncParameters(functionName, functionType, target, level, internalformat, width, height, border, format, type)) |
return false; |