Changeset 142392 in webkit
- Timestamp:
- Feb 10, 2013 2:40:34 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142391 r142392 1 2013-02-10 Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Build errors in TextureMapperShaderProgram.cpp when compiling with Clang 4 https://bugs.webkit.org/show_bug.cgi?id=109321 5 6 Reviewed by Noam Rosenthal. 7 8 Clang is reporting errors due to non-constant expressions that cannot be narrowed 9 from double to float type in initializer list when constructing a matrix of GC3Dfloat 10 numbers. To avoid this every parameter is passed through an explicit GC3Dfloat constructor. 11 12 No new tests - no new functionality. 13 14 * platform/graphics/texmap/TextureMapperShaderProgram.cpp: 15 (WebCore::TextureMapperShaderProgram::setMatrix): 16 1 17 2013-02-10 Philippe Normand <pnormand@igalia.com> 2 18 -
trunk/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp
r140518 r142392 74 74 { 75 75 GC3Dfloat matrixAsFloats[] = { 76 matrix.m11(), matrix.m12(), matrix.m13(), matrix.m14(),77 matrix.m21(), matrix.m22(), matrix.m23(), matrix.m24(),78 matrix.m31(), matrix.m32(), matrix.m33(), matrix.m34(),79 matrix.m41(), matrix.m42(), matrix.m43(), matrix.m44()76 GC3Dfloat(matrix.m11()), GC3Dfloat(matrix.m12()), GC3Dfloat(matrix.m13()), GC3Dfloat(matrix.m14()), 77 GC3Dfloat(matrix.m21()), GC3Dfloat(matrix.m22()), GC3Dfloat(matrix.m23()), GC3Dfloat(matrix.m24()), 78 GC3Dfloat(matrix.m31()), GC3Dfloat(matrix.m32()), GC3Dfloat(matrix.m33()), GC3Dfloat(matrix.m34()), 79 GC3Dfloat(matrix.m41()), GC3Dfloat(matrix.m42()), GC3Dfloat(matrix.m43()), GC3Dfloat(matrix.m44()) 80 80 }; 81 81
Note: See TracChangeset
for help on using the changeset viewer.