mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -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->width = xrrs[i].width;
|
||||||
dm->height = xrrs[i].height;
|
dm->height = xrrs[i].height;
|
||||||
dm->refresh_rate = rates[j];
|
dm->refresh_rate = rates[j];
|
||||||
|
dm->bits_per_pixel = -1;
|
||||||
|
dm->fullscreen_only = false;
|
||||||
++counter;
|
++counter;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user