- removed Windows types from several files which don't need them.

- split out the software renderer's video classes into their own file because they got included by all OpenGL sources.
This commit is contained in:
Christoph Oelckers 2017-03-09 12:52:31 +01:00
commit 03e1cbcfc0
17 changed files with 479 additions and 466 deletions

View file

@ -68,6 +68,7 @@
#include "f_wipe.h"
#include "sbar.h"
#include "win32iface.h"
#include "win32swiface.h"
#include "doomstat.h"
#include "v_palette.h"
#include "w_wad.h"
@ -1208,10 +1209,7 @@ void D3DFB::Flip()
}
}
// Limiting the frame rate is as simple as waiting for the timer to signal this event.
if (FPSLimitEvent != NULL)
{
WaitForSingleObject(FPSLimitEvent, 1000);
}
I_FPSLimit();
D3DDevice->Present(NULL, NULL, NULL, NULL);
InScene = false;