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

Unified Diff: Source/core/html/canvas/WebGLVertexArrayObjectOES.h

Issue 93873009: Moved GL enums from GraphicsContext3D to a more generic location. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Changed over to use the standard GL headers and enums. Also fixed some minor style issues. 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/html/canvas/WebGLVertexArrayObjectOES.h
diff --git a/Source/core/html/canvas/WebGLVertexArrayObjectOES.h b/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
index 2d7fe0123fa14106f12ac8b6fe7ace1f4a30391b..8b1fd6ee063eb8d26bf45b3a985594aa2c6c30ce 100644
--- a/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
+++ b/Source/core/html/canvas/WebGLVertexArrayObjectOES.h
@@ -50,7 +50,7 @@ public:
: enabled(false)
, bytesPerElement(0)
, size(4)
- , type(GraphicsContext3D::FLOAT)
+ , type(GL_FLOAT)
, normalized(false)
, stride(16)
, originalStride(0)

Powered by Google App Engine
This is Rietveld 408576698