From 29ef46edfd4f01da7d79338c031b237af415be3a Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 7 Jun 2010 16:43:04 +0200 Subject: Fix compilation with RVCT RVCT does not like static template functions --- src/gui/painting/qdrawhelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp index bd961a4..a765102 100644 --- a/src/gui/painting/qdrawhelper.cpp +++ b/src/gui/painting/qdrawhelper.cpp @@ -675,7 +675,7 @@ static inline uint interpolate_4_pixels_16(uint tl, uint tr, uint bl, uint br, i template -static inline void fetchTransformedBilinear_pixelBounds(int max, int l1, int l2, int &v1, int &v2) +Q_STATIC_TEMPLATE_FUNCTION inline void fetchTransformedBilinear_pixelBounds(int max, int l1, int l2, int &v1, int &v2) { if (blendType == BlendTransformedBilinearTiled) { v1 %= max; -- cgit v0.12