mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-25 03:12:56 +00:00
avoid construct in fetchTransformedBilinear<T, T>()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
de75ddfc53
commit
d9ff9da0ac
1 changed files with 1 additions and 1 deletions
|
@ -1426,7 +1426,7 @@ template<TextureBlendType blendType, QImage::Format format> /* blendType = Blend
|
||||||
static const uint * QT_FASTCALL fetchTransformedBilinear(uint *buffer, const Operator *, const QSpanData *data,
|
static const uint * QT_FASTCALL fetchTransformedBilinear(uint *buffer, const Operator *, const QSpanData *data,
|
||||||
int y, int x, int length)
|
int y, int x, int length)
|
||||||
{
|
{
|
||||||
FetchPixelProc fetch = (format != QImage::Format_Invalid) ? FetchPixelProc(qt_fetchPixel<format>) : fetchPixelProc[data->texture.format];
|
FetchPixelProc fetch = (format != QImage::Format_Invalid) ? fetchPixelProc[format] : fetchPixelProc[data->texture.format];
|
||||||
|
|
||||||
int image_width = data->texture.width;
|
int image_width = data->texture.width;
|
||||||
int image_height = data->texture.height;
|
int image_height = data->texture.height;
|
||||||
|
|
Loading…
Add table
Reference in a new issue