~sircmpwn/xrgears

975708bd2c947b0bfdbdc3569212755b925e13cd — Lubosz Sarnecki 5 years ago 74ca52c
window: direct: Fix formatting. Don't comment print.
1 files changed, 6 insertions(+), 6 deletions(-)

M vitamin-k/window/vikWindowDirectMode.hpp
M vitamin-k/window/vikWindowDirectMode.hpp => vitamin-k/window/vikWindowDirectMode.hpp +6 -6
@@ 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);