Changeset 5edbd58 in opengl-game for main-vulkan.cpp


Ignore:
Timestamp:
Sep 2, 2019, 5:23:40 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
301d0d4
Parents:
2beb6c7
Message:

For both openglgame and vulkangame, pass in the window width and height and a fullscreen flag to the run() function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main-vulkan.cpp

    r2beb6c7 r5edbd58  
    33#include <iostream>
    44
     5#include "consts.hpp"
    56#include "crash-logger.hpp"
    67
     
    2829
    2930   try {
    30       game.run();
     31      game.run(800, 600, GUI_FLAGS_WINDOW_FULLSCREEN);
    3132   } catch (const exception& e) {
    3233      cerr << e.what() << endl;
Note: See TracChangeset for help on using the changeset viewer.