fix errors

This commit is contained in:
2026-07-16 19:14:17 -05:00
parent 7e65822b03
commit f249c352c1
@@ -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);