Turn off scissor when rendering controls overlay

This commit is contained in:
Henrik Rydgard 2014-09-13 21:51:27 +02:00
parent 5a0f646916
commit 9734fd1c1a

View file

@ -720,9 +720,9 @@ void EmuScreen::render() {
viewport.MaxDepth = 1.0;
viewport.MinDepth = 0.0;
thin3d->SetViewports(1, &viewport);
glstate.viewport.restore();
thin3d->SetBlendState(thin3d->GetBlendStatePreset(BS_STANDARD_ALPHA));
thin3d->SetScissorEnabled(false);
ui_draw2d.Begin(thin3d->GetShaderSetPreset(SS_TEXTURE_COLOR_2D), DBMODE_NORMAL);
if (root_) {