summaryrefslogtreecommitdiff
path: root/src/common/file_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
commit5d55403f94233f7645a426897d350cc557aaaa9d (patch)
tree51e140bc9638ce12acb5c504a836ab37e6187ef5 /src/common/file_util.cpp
parent049ce242a465edc731557b8c74a8d92ad09710bd (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/file_util.cpp')
0 files changed, 0 insertions, 0 deletions