initialise all DisplayMode members

This commit is contained in:
rdb 2012-05-24 08:48:50 +00:00
parent e137dfcaa4
commit 963c235877

View File

@ -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;
}
}