mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 12:32:09 +00:00
End current draw surface before drawing cinematic
Fixes drawing StretchPic *before* CIN_DrawCinematic resulting in cinematic being drawn before the StretchPic.
This commit is contained in:
parent
d63d7ba6bf
commit
8af9516e88
2 changed files with 8 additions and 0 deletions
|
@ -737,6 +737,10 @@ void RE_StretchRaw (int x, int y, int w, int h, int cols, int rows, const byte *
|
||||||
}
|
}
|
||||||
R_IssuePendingRenderCommands();
|
R_IssuePendingRenderCommands();
|
||||||
|
|
||||||
|
if ( tess.numIndexes ) {
|
||||||
|
RB_EndSurface();
|
||||||
|
}
|
||||||
|
|
||||||
// we definately want to sync every frame for the cinematics
|
// we definately want to sync every frame for the cinematics
|
||||||
qglFinish();
|
qglFinish();
|
||||||
|
|
||||||
|
|
|
@ -830,6 +830,10 @@ void RE_StretchRaw (int x, int y, int w, int h, int cols, int rows, const byte *
|
||||||
}
|
}
|
||||||
R_IssuePendingRenderCommands();
|
R_IssuePendingRenderCommands();
|
||||||
|
|
||||||
|
if ( tess.numIndexes ) {
|
||||||
|
RB_EndSurface();
|
||||||
|
}
|
||||||
|
|
||||||
// we definately want to sync every frame for the cinematics
|
// we definately want to sync every frame for the cinematics
|
||||||
qglFinish();
|
qglFinish();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue