Changeset 152283 in webkit


Ignore:
Timestamp:
Jul 2, 2013 4:19:04 AM (11 years ago)
Author:
Csaba Osztrogonác
Message:

Fix cast-align warnings in WebCore/platform/graphics/texmap/TextureMapperGL.cpp
https://bugs.webkit.org/show_bug.cgi?id=118249

Reviewed by Allan Sandfeld Jensen.

  • platform/graphics/texmap/TextureMapperGL.cpp:

(WebCore::BitmapTextureGL::updateContents):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r152282 r152283  
     12013-07-02  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        Fix cast-align warnings in WebCore/platform/graphics/texmap/TextureMapperGL.cpp
     4        https://bugs.webkit.org/show_bug.cgi?id=118249
     5
     6        Reviewed by Allan Sandfeld Jensen.
     7
     8        * platform/graphics/texmap/TextureMapperGL.cpp:
     9        (WebCore::BitmapTextureGL::updateContents):
     10
    1112013-07-02  Allan Sandfeld Jensen  <allan.jensen@digia.com>
    212
  • trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp

    r149813 r152283  
    892892        glFormat = GraphicsContext3D::BGRA;
    893893    else
    894         swizzleBGRAToRGBA(reinterpret_cast<uint32_t*>(data), IntRect(adjustedSourceOffset, targetRect.size()), bytesPerLine / bytesPerPixel);
     894        swizzleBGRAToRGBA(reinterpret_cast_ptr<uint32_t*>(data), IntRect(adjustedSourceOffset, targetRect.size()), bytesPerLine / bytesPerPixel);
    895895
    896896    updateContentsNoSwizzle(data, targetRect, adjustedSourceOffset, bytesPerLine, bytesPerPixel, glFormat);
Note: See TracChangeset for help on using the changeset viewer.