Index: Source/core/html/canvas/WebGLRenderingContext.cpp |
diff --git a/Source/core/html/canvas/WebGLRenderingContext.cpp b/Source/core/html/canvas/WebGLRenderingContext.cpp |
index 5e4be277e3e9c4314adec09b8adda4a6bb2d565d..ef27434686076308c493edc4cdef7e41a2376938 100644 |
--- a/Source/core/html/canvas/WebGLRenderingContext.cpp |
+++ b/Source/core/html/canvas/WebGLRenderingContext.cpp |
@@ -3690,13 +3690,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; |