You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently both screenRect and bufferSize need to match up otherwise you'll get some distortion: http://cl.ly/image/0u1b0P2C0v39
For example, a "match" being OESizeMake(GPU_DISPLAY_WIDTH, GPU_DISPLAY_HEIGHT * 2) for the buffer and OERectMake(0, 0, GPU_DISPLAY_WIDTH, GPU_DISPLAY_HEIGHT * 2) for the screen.
Changing screenRect to OERectMake(0, 0, GPU_DISPLAY_WIDTH, GPU_DISPLAY_HEIGHT) will cause the wrong aspect ratio as seen in the screenshot above.
We should be able to change screenRect without having to adjust bufferSize. With git bisect I tracked down the problem to this commit which coincidentally was also to correct aspect ratio issues with resolution switching: 14a7279
The text was updated successfully, but these errors were encountered:
Currently both screenRect and bufferSize need to match up otherwise you'll get some distortion: http://cl.ly/image/0u1b0P2C0v39
For example, a "match" being
OESizeMake(GPU_DISPLAY_WIDTH, GPU_DISPLAY_HEIGHT * 2)
for the buffer andOERectMake(0, 0, GPU_DISPLAY_WIDTH, GPU_DISPLAY_HEIGHT * 2)
for the screen.Changing screenRect to
OERectMake(0, 0, GPU_DISPLAY_WIDTH, GPU_DISPLAY_HEIGHT)
will cause the wrong aspect ratio as seen in the screenshot above.We should be able to change screenRect without having to adjust bufferSize. With git bisect I tracked down the problem to this commit which coincidentally was also to correct aspect ratio issues with resolution switching: 14a7279
The text was updated successfully, but these errors were encountered: