mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
windisplay: Undefine Configure before including d3d9.h
This is for consistency with fbbc5bb9e63 which introduced the same `#undef Configure` in dxgsg9. This prevents dtool's own Configure() macro from conflicting with the declaration of D3D9's Configure function in d3d9.h.
This commit is contained in:
parent
c4f5ed308f
commit
a246acc640
@ -18,6 +18,7 @@
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#endif
|
||||
#undef Configure
|
||||
#include <d3d9.h>
|
||||
#include "graphicsStateGuardian.h"
|
||||
#include "graphicsPipe.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user