Home
last modified time | relevance | path

Searched refs:origaspect (Results 1 – 1 of 1) sorted by relevance

/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/hardware/r_opengl/
H A Dr_opengl.c3438 float origaspect, newaspect; in HWRAPI() local
3454 origaspect = (float)screen_width / screen_height; in HWRAPI()
3456 if (origaspect < newaspect) in HWRAPI()
3458 xoff = origaspect / newaspect; in HWRAPI()
3461 else if (origaspect > newaspect) in HWRAPI()
3464 yoff = newaspect / origaspect; in HWRAPI()