- 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

@ -34,7 +34,7 @@
**
*/
#ifdef WIN32
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <intrin.h>
@ -76,7 +76,7 @@ double gl_MillisecPerCycle = 1e-5; // 100 MHz
void gl_CalculateCPUSpeed ()
{
#ifdef WIN32
#ifdef _WIN32
LARGE_INTEGER freq;
QueryPerformanceFrequency (&freq);