PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
37 stars 8 forks source link

CGAME: Make lensflare aspect correct in widescreen #240

Closed zturtleman closed 7 months ago

zturtleman commented 7 months ago

refdef2D.vieworg was causing CG_DrawPoly() to be 640x480 stretched to screen size and xywh in CG_2DdirOf3D() was scaled to fit it.

Also fix other CG_DrawPoly() usage to call CG_AdjustFrom640() and clean up CG_SetScreenPlacement().

Fixes #239.

The recent work on this made it easier to fix.