Initial support for building for Windows with OpenWatcom

This commit is contained in:
Cameron Cawley
2022-05-18 20:20:03 +01:00
committed by Ozkan Sezer
parent 5ef36ead08
commit 9dfa000bc0
12 changed files with 346 additions and 38 deletions

View File

@@ -41,6 +41,13 @@
#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;