Changeset 110602 in webkit
- Timestamp:
- Mar 13, 2012 2:02:30 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r110601 r110602 1 2012-03-13 Rob Buis <rbuis@rim.com> 2 3 Fix cast-align GCC warning 4 https://bugs.webkit.org/show_bug.cgi?id=80790 5 6 Reviewed by Dan Bates. 7 8 This touches unpackOneRowOfBGRA8ToRGBA8. 9 10 * platform/graphics/GraphicsContext3D.cpp: 11 (WebCore): 12 1 13 2012-03-12 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/Source/WebCore/platform/graphics/GraphicsContext3D.cpp
r101295 r110602 472 472 void unpackOneRowOfBGRA8ToRGBA8(const uint8_t* source, uint8_t* destination, unsigned int pixelsPerRow) 473 473 { 474 const uint32_t* source32 = reinterpret_cast <const uint32_t*>(source);475 uint32_t* destination32 = reinterpret_cast <uint32_t*>(destination);474 const uint32_t* source32 = reinterpret_cast_ptr<const uint32_t*>(source); 475 uint32_t* destination32 = reinterpret_cast_ptr<uint32_t*>(destination); 476 476 for (unsigned int i = 0; i < pixelsPerRow; ++i) { 477 477 uint32_t bgra = source32[i];
Note: See TracChangeset
for help on using the changeset viewer.