aboutsummaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-06-04 16:36:54 -0500
committerSubv <subv2112@gmail.com>2018-06-04 16:36:54 -0500
commita58a06a218eb93a90465c6de2024af9c15f8a72b (patch)
tree51e140bc9638ce12acb5c504a836ab37e6187ef5 /src/common/string_util.cpp
parent8691aa8cd7a363af096408759b43954343ae3fba (diff)
GPU: Calculate the correct viewport dimensions based on the scale and translate registers.
This is how nouveau calculates the viewport width and height. For some reason some games set 0xFFFF in the VIEWPORT_HORIZ and VIEWPORT_VERT registers, maybe those are a misnomer and actually refer to something else?
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions