mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
alt-tab fix?
This commit is contained in:
parent
16cece3711
commit
daf2cf5934
@ -1901,7 +1901,7 @@ window_proc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam) {
|
|||||||
case WM_SETFOCUS: {
|
case WM_SETFOCUS: {
|
||||||
// wgldisplay_cat.info() << "got WM_SETFOCUS\n";
|
// wgldisplay_cat.info() << "got WM_SETFOCUS\n";
|
||||||
|
|
||||||
make_current();
|
// make_current(); causes errors when Alt-tabbing?
|
||||||
|
|
||||||
POINT point;
|
POINT point;
|
||||||
GetCursorPos(&point);
|
GetCursorPos(&point);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user