mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
cosmetic
This commit is contained in:
parent
6acf279b98
commit
7b38b1e5e7
@ -631,7 +631,6 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_SIZE: {
|
case WM_SIZE: {
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
{
|
{
|
||||||
width = LOWORD(lparam); height = HIWORD(lparam);
|
width = LOWORD(lparam); height = HIWORD(lparam);
|
||||||
@ -1049,10 +1048,6 @@ void wdxGraphicsWindowGroup::CreateWindows(void) {
|
|||||||
assert(hUser32);
|
assert(hUser32);
|
||||||
|
|
||||||
_pfnGetMonitorInfo = (PFN_GETMONITORINFO) GetProcAddress(hUser32, "GetMonitorInfoA");
|
_pfnGetMonitorInfo = (PFN_GETMONITORINFO) GetProcAddress(hUser32, "GetMonitorInfoA");
|
||||||
|
|
||||||
// Note: could use _TrackMouseEvent in comctrl32.dll (part of IE 3.0+) which emulates
|
|
||||||
// TrackMouseEvent on w95, but that requires another 500K of memory to hold that DLL,
|
|
||||||
// which is lame just to support w95, which probably has other issues anyway
|
|
||||||
_pfnTrackMouseEvent = (PFN_TRACKMOUSEEVENT) GetProcAddress(hUser32, "TrackMouseEvent");
|
_pfnTrackMouseEvent = (PFN_TRACKMOUSEEVENT) GetProcAddress(hUser32, "TrackMouseEvent");
|
||||||
FreeLibrary(hUser32);
|
FreeLibrary(hUser32);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user