Commit 5b9608e08c67088a3d20790b93fd93625d573476

Pierre Wendling 2022-10-11T23:35:33

Remove D3D9 workarounds for Watcom. The linked PRs have been merged since May.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --git a/src/render/direct3d/SDL_render_d3d.c b/src/render/direct3d/SDL_render_d3d.c
index cad5536..e68e4d8 100644
--- a/src/render/direct3d/SDL_render_d3d.c
+++ b/src/render/direct3d/SDL_render_d3d.c
@@ -41,13 +41,6 @@
 
 #include "SDL_shaders_d3d.h"
 
-#ifdef __WATCOMC__
-/* FIXME: Remove this once https://github.com/open-watcom/open-watcom-v2/pull/868 is merged */
-#define D3DBLENDOP_REVSUBTRACT 3
-/* FIXME: Remove this once https://github.com/open-watcom/open-watcom-v2/pull/869 is merged */
-#define D3DERR_UNSUPPORTEDCOLOROPERATION MAKE_D3DHRESULT( 2073 )
-#endif
-
 typedef struct
 {
     SDL_Rect viewport;