From f249c352c12fd71287480d020c1cd14f7b3cfeaf Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 16 Jul 2026 19:14:17 -0500 Subject: [PATCH] fix errors --- .../code/CoreTech/Libraries/GameOS/render.cpp | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Gameleap/code/CoreTech/Libraries/GameOS/render.cpp b/Gameleap/code/CoreTech/Libraries/GameOS/render.cpp index 5da8a4f7..d87ee41c 100644 --- a/Gameleap/code/CoreTech/Libraries/GameOS/render.cpp +++ b/Gameleap/code/CoreTech/Libraries/GameOS/render.cpp @@ -1584,6 +1584,19 @@ bool CMFD_Device::EndChannel() } +// Mode 4: same grid pattern as rcs640 but offset to x=0 for a standalone +// 640x480 surface (left half of rcs1280). +static RECT rcs640_solo[8]={ + {0,40,640,42}, + { 160-1,0, 160+1,40}, + { 320-1,0, 320+1,40}, + { 480-1,0, 480+1,40}, + {0,480-42,640,480-40}, + { 160-1,440, 160+1,480}, + { 320-1,440, 320+1,480}, + { 480-1,440, 480+1,480}, +}; + bool CMFD_Device::BeginScene() { /* @@ -1797,19 +1810,6 @@ static RECT rcs640[8]={ {1120-1,440,1120+1,480}, }; -// Mode 4: same grid pattern as rcs640 but offset to x=0 for a standalone -// 640x480 surface (left half of rcs1280). -static RECT rcs640_solo[8]={ - {0,40,640,42}, - { 160-1,0, 160+1,40}, - { 320-1,0, 320+1,40}, - { 480-1,0, 480+1,40}, - {0,480-42,640,480-40}, - { 160-1,440, 160+1,480}, - { 320-1,440, 320+1,480}, - { 480-1,440, 480+1,480}, -}; - bool CMFD_Device::DrawMFDBackGrid() { pD3DDevice->SetTexture(0,0);