mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 03:30:50 +00:00
Fix wipes in low resolutions
This commit is contained in:
parent
31d1ef8db0
commit
a984d979d1
2 changed files with 11 additions and 11 deletions
|
@ -2654,9 +2654,6 @@ EXPORT void HWRAPI(DrawScreenFinalTexture)(int width, int height)
|
||||||
|
|
||||||
pglEnd();
|
pglEnd();
|
||||||
|
|
||||||
SetModelView(screen_width, screen_height);
|
|
||||||
SetStates();
|
|
||||||
|
|
||||||
tex_downloaded = finalScreenTexture;
|
tex_downloaded = finalScreenTexture;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -214,8 +214,11 @@ void OglSdlFinishUpdate(boolean waitvbl)
|
||||||
HWR_DrawScreenFinalTexture(sdlw, sdlh);
|
HWR_DrawScreenFinalTexture(sdlw, sdlh);
|
||||||
SDL_GL_SwapWindow(window);
|
SDL_GL_SwapWindow(window);
|
||||||
|
|
||||||
SetModelView(realwidth, realheight);
|
GClipRect(0, 0, realwidth, realheight, NZCLIP_PLANE);
|
||||||
SetStates();
|
|
||||||
|
// Sryder: We need to draw the final screen texture again into the other buffer in the original position so that
|
||||||
|
// effects that want to take the old screen can do so after this
|
||||||
|
HWR_DrawScreenFinalTexture(realwidth, realheight);
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT void HWRAPI( OglSdlSetPalette) (RGBA_t *palette, RGBA_t *pgamma)
|
EXPORT void HWRAPI( OglSdlSetPalette) (RGBA_t *palette, RGBA_t *pgamma)
|
||||||
|
|
Loading…
Reference in a new issue