Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp

Issue 93873009: Moved GL enums from GraphicsContext3D to a more generic location. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Missed a couple of test files Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 bb8026f51757e58b7c505dcd03e42f5a317ad94d..8925364488e733dd21021050ff648f228b760390 100644
--- a/Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
+++ b/Source/core/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
@@ -83,7 +83,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)

Powered by Google App Engine
This is Rietveld 408576698