summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>2014-12-08 11:11:37 +0100
committerNoel Grandin <noelgrandin@gmail.com>2014-12-10 10:17:39 +0000
commitabb8ce43ab30373d1283b9085ed65191c437978e (patch)
tree516978149830384ccb418336b7659dce85229cab /canvas
parent5141f2e0d89a8a10f0009bea40cc5cd15bf4fcc8 (diff)
Kill unused directx < 9 ifdefery
Change-Id: I2cd5dd5b4f723e26802930003c68433917af782d Reviewed-on: https://gerrit.libreoffice.org/13371 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_winstuff.hxx17
1 files changed, 1 insertions, 16 deletions
diff --git a/canvas/source/directx/dx_winstuff.hxx b/canvas/source/directx/dx_winstuff.hxx
index 86ecacdce683..469b5cbc9e95 100644
--- a/canvas/source/directx/dx_winstuff.hxx
+++ b/canvas/source/directx/dx_winstuff.hxx
@@ -56,22 +56,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
-#if DIRECTX_VERSION < 0x0900
-
- #include <multimon.h>
-
- // Be compatible with directdraw 3.0. Lets see how far this takes us
- #define DIRECTDRAW_VERSION 0x0300
- #include <ddraw.h>
-
- // Be compatible with direct3d 5.0. Lets see how far this takes us
- #define DIRECT3D_VERSION 0x0500
- #define D3D_OVERLOADS
- #include <d3d.h>
-
- typedef IDirectDrawSurface surface_type;
-
-#elif WIN8_SDK == 1 || defined(_USING_V110_SDK71_)
+#if WIN8_SDK == 1 || defined(_USING_V110_SDK71_)
#include <d3d9.h>