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

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

Issue 106503003: Changed GL enums from GraphicsContext3D to standard versions (Take 2) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
diff --git a/Source/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp b/Source/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
index 75061b8c7c92d1e955261e32d6533b5ba9e9ae26..a3727ae34467bdae8c1cd8116e47aa0843e4fa4f 100644
--- a/Source/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
+++ b/Source/platform/graphics/filters/custom/CustomFilterGlobalContext.cpp
@@ -82,7 +82,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