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

Unified Diff: Source/modules/webgl/WebGLBuffer.cpp

Issue 1300573002: WebGL 2: add readPixels API to read pixels into pixel pack buffer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed zmo@'s and kbr@'s feedback Created 5 years, 4 months 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/modules/webgl/WebGLBuffer.cpp
diff --git a/Source/modules/webgl/WebGLBuffer.cpp b/Source/modules/webgl/WebGLBuffer.cpp
index 0969b7b8983abc6cf31e5d5cec766228e1b141b4..68c28e1d68904f47a48dbf96120b0dc864f1351a 100644
--- a/Source/modules/webgl/WebGLBuffer.cpp
+++ b/Source/modules/webgl/WebGLBuffer.cpp
@@ -39,6 +39,7 @@ WebGLBuffer* WebGLBuffer::create(WebGLRenderingContextBase* ctx)
WebGLBuffer::WebGLBuffer(WebGLRenderingContextBase* ctx)
: WebGLSharedPlatform3DObject(ctx)
, m_initialTarget(0)
+ , m_size(0)
{
setObject(ctx->webContext()->createBuffer());
}

Powered by Google App Engine
This is Rietveld 408576698