aboutsummaryrefslogtreecommitdiff
path: root/cube/macOS/cubepp/DemoViewController.mm
diff options
context:
space:
mode:
authorJeremy Kniager <jeremyk@lunarg.com>2019-11-22 14:55:57 -0700
committerjeremyk-lunarg <jeremyk@lunarg.com>2019-11-27 10:02:44 -0700
commit979b531e9fff8ef044cf036d8ebd7fab3c17bec3 (patch)
tree26e06759d1c6f5a62301b83d04d62cfdd5caebcf /cube/macOS/cubepp/DemoViewController.mm
parent6f6e3371c92ac63bf29d5010b2933659e3f8dbef (diff)
downloadusermoji-979b531e9fff8ef044cf036d8ebd7fab3c17bec3.tar.xz
vkcube: Fix Cube Squishing on Resize
Modified viewport creation in vkcube to keep the aspect ratio square and centered. This change prevents cube from squishing and warping when the window is resized. It now shrinks and grows. Change-Id: Ie2b3c5747293dfed968af5d83b581ac74d81bb10
Diffstat (limited to 'cube/macOS/cubepp/DemoViewController.mm')
0 files changed, 0 insertions, 0 deletions