- make gl_finishbeforeswap more useful by handling the case where it causes stalls on NVidia.
This commit is contained in:
parent
ad2993950a
commit
c5d75c18b4
2 changed files with 8 additions and 3 deletions
|
|
@ -91,6 +91,7 @@ extern bool r_showviewer;
|
|||
DWORD gl_fixedcolormap;
|
||||
area_t in_area;
|
||||
TArray<BYTE> currentmapsection;
|
||||
int camtexcount;
|
||||
|
||||
void gl_ParseDefs();
|
||||
|
||||
|
|
@ -1356,6 +1357,7 @@ void FGLInterface::RenderTextureView (FCanvasTexture *tex, AActor *Viewpoint, in
|
|||
}
|
||||
|
||||
tex->SetUpdated();
|
||||
camtexcount++;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue