summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform')
-rw-r--r--Source/WebCore/platform/graphics/android/TransferQueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/TransferQueue.cpp b/Source/WebCore/platform/graphics/android/TransferQueue.cpp
index 918d484..02427e4 100644
--- a/Source/WebCore/platform/graphics/android/TransferQueue.cpp
+++ b/Source/WebCore/platform/graphics/android/TransferQueue.cpp
@@ -455,7 +455,7 @@ void TransferQueue::restoreGLState()
if (m_GLStateBeforeBlit.scissor[0])
glEnable(GL_SCISSOR_TEST);
- if (m_GLStateBeforeBlit.depth)
+ if (m_GLStateBeforeBlit.depth[0])
glEnable(GL_DEPTH_TEST);
glClearColor(m_GLStateBeforeBlit.clearColor[0],