diff options
author | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-08-12 08:11:16 +0200 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@qt.io> | 2016-08-17 07:42:13 +0000 |
commit | 35f17de4876921ffdf89edad7492a202f7655a9f (patch) | |
tree | a33e1abec6570b44aa0612b64206cb76a14e3566 /src/3rdparty/angle/src/libANGLE/State.cpp | |
parent | c0ccea7efe56ca5115097f32f13cf3398ecc2d34 (diff) |
ANGLE: Fix initialization of zero-sized window
The clientRect might be empty when creating a window of zero size. The
side effect of a division by zero is that matrix transformation fails
and hence the swapchain gets into an invalid state.
Change-Id: Idbaed72deadb7b87052ac27e194a40d1810e6f7a
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/3rdparty/angle/src/libANGLE/State.cpp')
0 files changed, 0 insertions, 0 deletions