X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2FABM2.git;a=blobdiff_plain;f=ABM2%2FEngine%2FVideoUpdate.cpp;h=14f60440f6f99518e7efe50a83a3c6da6e5e854f;hp=9ff6db9219e0c8ae4f0ef2a9db14ec5c9161ad1c;hb=6332ae522f34b2811b62b83e9a44545f0c72cba3;hpb=3f925daf5df7b52445d337b5aaf0257278ff6828 diff --git a/ABM2/Engine/VideoUpdate.cpp b/ABM2/Engine/VideoUpdate.cpp index 9ff6db9..14f6044 100755 --- a/ABM2/Engine/VideoUpdate.cpp +++ b/ABM2/Engine/VideoUpdate.cpp @@ -15,7 +15,7 @@ // Construction/Destruction ////////////////////////////////////////////////////////////////////// LPDIRECT3DDEVICE9 d3ddev; // the pointer to the device class - +#endif //WIN32 CMMPointer > CVideoUpdate::screenWidth=0; CMMPointer > CVideoUpdate::screenHeight=0; CMMPointer > CVideoUpdate::screenBPP=0; @@ -23,6 +23,7 @@ int CVideoUpdate::scrWidth=640; int CVideoUpdate::scrHeight=480; int CVideoUpdate::scrBPP=16; +#ifdef WIN32 CVideoUpdate::CVideoUpdate() { d3d = Direct3DCreate9(D3D_SDK_VERSION);