@@ 87,10 87,10 @@ class WindowDirectMode : public Window {
vik_log_w("Selecting '%s' instead.", d->name.c_str());
}
- if(settings->display<0){
- settings->display=0;
- VikDisplay *d = current_display();
- vik_log_w("Selecting '%s' first display.", d->name.c_str());
+ if (settings->display < 0) {
+ settings->display = 0;
+ VikDisplay *d = current_display();
+ vik_log_w("Selecting '%s' first display.", d->name.c_str());
}
VikDisplay *d = current_display();
@@ 151,13 151,13 @@ class WindowDirectMode : public Window {
void init_swap_chain(uint32_t width, uint32_t height) {
VikDisplay *d = current_display();
-/*
+
vik_log_i("Will use display: %s %dx%d@%.2f",
d->name.c_str(),
d->primary_mode.width, d->primary_mode.height,
(double) d->primary_mode.dot_clock /
(d->primary_mode.htotal * d->primary_mode.vtotal));
-*/
+
VkDisplayKHR display = get_xlib_randr_output(d->output);
aquire_xlib_display(display);