Changeset 57664 in webkit
- Timestamp:
- Apr 15, 2010 1:07:50 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r57663 r57664 1 2010-04-15 Zhenyao Mo <zmo@google.com> 2 3 Reviewed by Adam Barth. 4 5 Several tests in fast/canvas/webgl/ failed randomly on Leopard Commit Bot 6 This fixes an uninitialized variable bug and restores a glFinish call that used to be present. 7 https://bugs.webkit.org/show_bug.cgi?id=36908 8 9 * platform/graphics/mac/GraphicsContext3DMac.cpp: 10 (WebCore::GraphicsContext3D::GraphicsContext3D): Initialize width/height to 0/0. 11 (WebCore::GraphicsContext3D::prepareTexture): Restore glFinish() in every path. 12 1 13 2010-04-14 Antonio Gomes <tonikitoo@webkit.org> 2 14 -
trunk/WebCore/platform/graphics/mac/GraphicsContext3DMac.cpp
r57574 r57664 83 83 84 84 GraphicsContext3D::GraphicsContext3D(GraphicsContext3D::Attributes attrs) 85 : m_attrs(attrs) 85 : m_currentWidth(0) 86 , m_currentHeight(0) 87 , m_attrs(attrs) 86 88 , m_contextObj(0) 87 89 , m_texture(0) … … 341 343 ::glBlitFramebufferEXT(0, 0, m_currentWidth, m_currentHeight, 0, 0, m_currentWidth, m_currentHeight, GL_COLOR_BUFFER_BIT, GL_LINEAR); 342 344 ::glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, m_boundFBO); 343 ::glFinish();344 }345 } 346 ::glFinish(); 345 347 } 346 348
Note: See TracChangeset
for help on using the changeset viewer.