diff options
author | Sven Gothel <[email protected]> | 2010-11-02 02:08:36 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-02 02:08:36 +0100 |
commit | c5676b1b8e223c927be3169747e1028ed2edc7f3 (patch) | |
tree | a6d7f884ed4bfaf978b1bf6123e755e2c075c6ba /src/newt/native | |
parent | 9061aaaa9753d894dbaf9e685221ddd108cc96e5 (diff) |
Windows: define DISPLAY_DEVICE_ACTIVE, if not already
Diffstat (limited to 'src/newt/native')
-rw-r--r-- | src/newt/native/WindowsWindow.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index b2f96a03b..46d710eda 100644 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -89,6 +89,12 @@ #ifndef MONITOR_DEFAULTTONEAREST #define MONITOR_DEFAULTTONEAREST 2 #endif +#ifndef EDS_ROTATEDMODE +#define EDS_ROTATEDMODE 0x00000004 +#endif +#ifndef DISPLAY_DEVICE_ACTIVE +#define DISPLAY_DEVICE_ACTIVE 0x00000001 +#endif #include "com_jogamp_newt_impl_windows_WindowsDisplay.h" #include "com_jogamp_newt_impl_windows_WindowsScreen.h" @@ -1207,10 +1213,6 @@ static HDC NewtScreen_createDisplayDC(LPCTSTR displayDeviceName) { return CreateDC("DISPLAY", displayDeviceName, NULL, NULL); } -#ifndef EDS_ROTATEDMODE - #define EDS_ROTATEDMODE 0x00000004 -#endif - /* * Class: com_jogamp_newt_impl_windows_WindowsScreen * Method: getScreenMode0 |