| Index: Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
|
| diff --git a/Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp b/Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
|
| index 0c8857b1c599fb209b778b261fe579d54d945f68..0b0b160bc421337e47e6349db674db50967e6bd6 100644
|
| --- a/Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
|
| +++ b/Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "core/platform/graphics/GraphicsContext3D.h"
|
| #include "core/platform/graphics/filters/custom/CustomFilterValidatedProgram.h"
|
| +#include "third_party/khronos/GLES2/gl2.h"
|
|
|
| namespace WebCore {
|
|
|
| @@ -83,7 +84,7 @@ void CustomFilterGlobalContext::prepareContextIfNeeded()
|
| if (!m_context)
|
| return;
|
| m_context->makeContextCurrent();
|
| - m_context->enable(GraphicsContext3D::DEPTH_TEST);
|
| + m_context->enable(GL_DEPTH_TEST);
|
| }
|
|
|
| PassRefPtr<CustomFilterValidatedProgram> CustomFilterGlobalContext::getValidatedProgram(const CustomFilterProgramInfo& programInfo)
|
|
|