Title: [133065] branches/chromium/1312/Source/WebCore/html/canvas/WebGLRenderingContext.cpp
- Revision
- 133065
- Author
- [email protected]
- Date
- 2012-10-31 13:02:36 -0700 (Wed, 31 Oct 2012)
Log Message
Merge 132980 - Set the initial scissor box for WebGL
https://bugs.webkit.org/show_bug.cgi?id=100804
Patch by Gregg Tavares <[email protected]> on 2012-10-30
Reviewed by Kenneth Russell.
The initial scissor box needs to be set for WebGL
No new tests as no new functionality.
* html/canvas/WebGLRenderingContext.cpp:
(WebCore):
(WebCore::WebGLRenderingContext::initializeNewContext):
[email protected]
Review URL: https://codereview.chromium.org/11366017
Modified Paths
Diff
Modified: branches/chromium/1312/Source/WebCore/html/canvas/WebGLRenderingContext.cpp (133064 => 133065)
--- branches/chromium/1312/Source/WebCore/html/canvas/WebGLRenderingContext.cpp 2012-10-31 20:01:27 UTC (rev 133064)
+++ branches/chromium/1312/Source/WebCore/html/canvas/WebGLRenderingContext.cpp 2012-10-31 20:02:36 UTC (rev 133065)
@@ -532,6 +532,7 @@
m_context->reshape(canvasSize.width(), canvasSize.height());
m_context->viewport(0, 0, canvasSize.width(), canvasSize.height());
+ m_context->scissor(0, 0, canvasSize.width(), canvasSize.height());
m_context->setContextLostCallback(adoptPtr(new WebGLRenderingContextLostCallback(this)));
m_context->setErrorMessageCallback(adoptPtr(new WebGLRenderingContextErrorMessageCallback(this)));
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes