Title: [152283] trunk/Source/WebCore
- Revision
- 152283
- Author
- [email protected]
- Date
- 2013-07-02 04:19:04 -0700 (Tue, 02 Jul 2013)
Log 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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (152282 => 152283)
--- trunk/Source/WebCore/ChangeLog 2013-07-02 11:04:48 UTC (rev 152282)
+++ trunk/Source/WebCore/ChangeLog 2013-07-02 11:19:04 UTC (rev 152283)
@@ -1,3 +1,13 @@
+2013-07-02 Csaba Osztrogonác <[email protected]>
+
+ 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):
+
2013-07-02 Allan Sandfeld Jensen <[email protected]>
[Qt][WK1] Support WebGL with EGL on Linux
Modified: trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp (152282 => 152283)
--- trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp 2013-07-02 11:04:48 UTC (rev 152282)
+++ trunk/Source/WebCore/platform/graphics/texmap/TextureMapperGL.cpp 2013-07-02 11:19:04 UTC (rev 152283)
@@ -891,7 +891,7 @@
if (driverSupportsExternalTextureBGRA(m_context3D.get()))
glFormat = GraphicsContext3D::BGRA;
else
- swizzleBGRAToRGBA(reinterpret_cast<uint32_t*>(data), IntRect(adjustedSourceOffset, targetRect.size()), bytesPerLine / bytesPerPixel);
+ swizzleBGRAToRGBA(reinterpret_cast_ptr<uint32_t*>(data), IntRect(adjustedSourceOffset, targetRect.size()), bytesPerLine / bytesPerPixel);
updateContentsNoSwizzle(data, targetRect, adjustedSourceOffset, bytesPerLine, bytesPerPixel, glFormat);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes