mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fix fullscreen resize
This commit is contained in:
parent
2df2142906
commit
38c81198f2
@ -695,7 +695,9 @@ do_fullscreen_resize(int x_size, int y_size) {
|
|||||||
<< " bitdepth " << dwFullScreenBitDepth << ", "
|
<< " bitdepth " << dwFullScreenBitDepth << ", "
|
||||||
<< dm.dmDisplayFrequency << "Hz\n";
|
<< dm.dmDisplayFrequency << "Hz\n";
|
||||||
|
|
||||||
system_changed_size(x_size, y_size);
|
_properties.set_size(x_size, y_size);
|
||||||
|
set_size_and_recalc(x_size, y_size);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user