mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
initialise all DisplayMode members
This commit is contained in:
parent
e137dfcaa4
commit
963c235877
@ -105,6 +105,8 @@ x11GraphicsPipe(const string &display) {
|
||||
dm->width = xrrs[i].width;
|
||||
dm->height = xrrs[i].height;
|
||||
dm->refresh_rate = rates[j];
|
||||
dm->bits_per_pixel = -1;
|
||||
dm->fullscreen_only = false;
|
||||
++counter;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user