Changeset 107127 in webkit
- Timestamp:
- Feb 8, 2012 1:32:54 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r107123 r107127 1 2012-02-08 James Robinson <jamesr@chromium.org> 2 3 [chromium] Check that we can make the SharedGraphicsContext3D current before returning 4 https://bugs.webkit.org/show_bug.cgi?id=78142 5 6 Reviewed by Stephen White. 7 8 If we can't make the context current, we can't use it. 9 10 * platform/graphics/gpu/SharedGraphicsContext3D.cpp: 11 (WebCore::SharedGraphicsContext3D::get): 12 1 13 2012-02-08 Abhishek Arya <inferno@chromium.org> 2 14 -
trunk/Source/WebCore/platform/graphics/gpu/SharedGraphicsContext3D.cpp
r95901 r107127 40 40 attributes.shareResources = true; 41 41 static GraphicsContext3D* context = GraphicsContext3D::create(attributes, 0).leakRef(); 42 if (context && !context->makeContextCurrent()) 43 context = 0; 42 44 return context; 43 45 }
Note: See TracChangeset
for help on using the changeset viewer.