Merge pull request #1584 from degasus/master

OGL: also show driver warnings on release builds
This commit is contained in:
Lioncash
2014-11-25 12:41:47 -05:00
2 changed files with 12 additions and 9 deletions

View File

@ -376,13 +376,18 @@ static void BPWritten(const BPCmd& bp)
if (!g_bSkipCurrentFrame)
{
u8 offset = bp.address & 2;
BoundingBox::coords[offset] = bp.newvalue & 0x3ff;
BoundingBox::coords[offset + 1] = bp.newvalue >> 10;
BoundingBox::active = true;
g_renderer->BBoxWrite(offset, bp.newvalue & 0x3ff);
g_renderer->BBoxWrite(offset + 1, bp.newvalue >> 10);
if (g_ActiveConfig.backend_info.bSupportsBBox)
{
g_renderer->BBoxWrite(offset, bp.newvalue & 0x3ff);
g_renderer->BBoxWrite(offset + 1, bp.newvalue >> 10);
}
else
{
BoundingBox::coords[offset] = bp.newvalue & 0x3ff;
BoundingBox::coords[offset + 1] = bp.newvalue >> 10;
}
}
return;
case BPMEM_TEXINVALIDATE: