diff options
| author | Cort Stratton <cort@google.com> | 2017-05-01 15:36:05 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-05-02 09:34:45 -0700 |
| commit | 7057f6cbb5aeca675e67b1b6ff3deb13c9fc5081 (patch) | |
| tree | 7987248efaf68b22b055838bb3a77410d595af65 /layers/unique_objects.cpp | |
| parent | 76a0eb01f742ccc4e799870983fdfd01dd402901 (diff) | |
| download | usermoji-7057f6cbb5aeca675e67b1b6ff3deb13c9fc5081.tar.xz | |
layers: Remove check for imageExtent == currentExtent
The condition tested in this check is only valid on platforms where
the swapchain dimensions must match the surface dimensions (e.g. Windows,
Xlib). In such cases, the surface *must* report minExtent == maxExtent ==
currentExtent, and this check would already be handled by the code directly
above the deleted check.
Platforms like Android allow the swapchain's imageExtent to be anywhere
within the surface minExtent/maxExtent range; if this does not match the
surface dimensions, it will be scaled accordingly.
Diffstat (limited to 'layers/unique_objects.cpp')
0 files changed, 0 insertions, 0 deletions
