diff options
author | Jørgen Lind <jorgen.lind@digia.com> | 2013-06-28 15:49:23 +0200 |
---|---|---|
committer | Andy Nichols <andy.nichols@digia.com> | 2013-08-02 14:39:36 +0200 |
commit | 47ca3fd878563edbc4bbd8ac44bc7692eaaeb63d (patch) | |
tree | 69295a2a7773383f4cb5de259a0b7a55ae8daaaa /examples/qwidget-compositor | |
parent | 533da94248600d20ffcbceb9a4ec2bc0884a2899 (diff) |
Remove conversion warning in examples
Change-Id: I69944a417d40ad39d261b58a35eee4f84156995f
Reviewed-by: Paul Olav Tvete <paul.tvete@digia.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'examples/qwidget-compositor')
-rw-r--r-- | examples/qwidget-compositor/textureblitter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qwidget-compositor/textureblitter.cpp b/examples/qwidget-compositor/textureblitter.cpp index 78ea85597..5607274b2 100644 --- a/examples/qwidget-compositor/textureblitter.cpp +++ b/examples/qwidget-compositor/textureblitter.cpp @@ -102,9 +102,9 @@ void TextureBlitter::drawTexture(int textureId, const QRectF &targetRect, const 0, 1 }; - int x1 = targetRect.left(); - int x2 = targetRect.right(); - int y1, y2; + GLfloat x1 = targetRect.left(); + GLfloat x2 = targetRect.right(); + GLfloat y1, y2; if (targethasInvertedY) { if (sourceHasInvertedY) { y1 = targetRect.top(); |