Fix for any aspect ratio in 3D Environments (#320)
* Add initial AnyAspectRatio support * Remove some logic that didn't work * Remove rogue back slash * Remove more remnants * Update UILayer.h * Update some comments * Remove WIP UI changes * Fix diffs * Remove UI resize call from `UpdateAspectRatio` * handle merge conflict * Update to C++ style static cast * Fix syntax
This commit is contained in:
@@ -973,6 +973,9 @@ void gdraw_D3D1X_(SetRendertargetSize)(S32 w, S32 h)
|
||||
|
||||
void gdraw_D3D1X_(SetTileOrigin)(ID3D1X(RenderTargetView) *main_rt, ID3D1X(DepthStencilView) *main_ds, ID3D1X(ShaderResourceView) *non_msaa_rt, S32 x, S32 y)
|
||||
{
|
||||
|
||||
if (!gdraw) return; // AAR - saftey check because windows calls resize early
|
||||
|
||||
D3D1X_(RENDER_TARGET_VIEW_DESC) desc;
|
||||
|
||||
if (gdraw->frame_done) {
|
||||
|
||||
Reference in New Issue
Block a user