diff --git a/GPU/Directx9/helper/dx_state.h b/GPU/Directx9/helper/dx_state.h index 0fb2e086a0..653d134e86 100644 --- a/GPU/Directx9/helper/dx_state.h +++ b/GPU/Directx9/helper/dx_state.h @@ -323,6 +323,9 @@ private: class CullMode { DWORD cull; public: + CullMode() : cull (D3DCULL_NONE) { + } + inline void set(int wantcull, int cullmode) { DWORD newcull; if (!wantcull) {