diff options
author | Andrew Knight <andrew.knight@digia.com> | 2013-04-04 14:37:54 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-08 11:35:44 +0200 |
commit | fab430a4120a74a76862de718eaf2740366d9875 (patch) | |
tree | f2fb8b4d37aed31ac2c214110b929e4929e23547 /src/3rdparty/angle/src/common | |
parent | 710ad8ce1bd5d01ce048851d210ac3831ca17dde (diff) |
ANGLE DX11: Prevent assert when view is minimized or size goes to 0x0
This allows the Direct3D 11 version of ANGLE to gracefully allow
surfaces with dimensions of 0. This is important because Qt may resize
the surface to 0x0 because of window minimization or other user
action (window resize). As EGL specifies that empty (0x0) surfaces are
valid, this makes sure an assert doesn't occur in the case that a valid
surface is resized to an empty one.
Change-Id: Ia60c4c694090d03c1da7f43c56e90b925c8eab6d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/3rdparty/angle/src/common')
0 files changed, 0 insertions, 0 deletions