summaryrefslogtreecommitdiffstats
path: root/WebCore
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore')
-rw-r--r--WebCore/platform/graphics/android/ShaderProgram.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/WebCore/platform/graphics/android/ShaderProgram.cpp b/WebCore/platform/graphics/android/ShaderProgram.cpp
index 9e0a4ab..558c118 100644
--- a/WebCore/platform/graphics/android/ShaderProgram.cpp
+++ b/WebCore/platform/graphics/android/ShaderProgram.cpp
@@ -332,9 +332,6 @@ void ShaderProgram::clip(const FloatRect& clip)
if (clip == m_clipRect)
return;
- if (clip.width() == 0 && clip.height() == 0)
- return;
-
// we should only call glScissor in this function, so that we can easily
// track the current clipping rect.