Changeset d8cf709 in opengl-game for main-vulkan.cpp


Ignore:
Timestamp:
Feb 13, 2021, 11:41:39 PM (4 years ago)
Author:
Dmitry Portnoy <dportnoy@…>
Branches:
feature/imgui-sdl
Children:
c6f0793
Parents:
8b823e7
Message:

Change UIEvent to also include the original event from the UI library the game gui is currently using, such as SDL or GLFW.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main-vulkan.cpp

    r8b823e7 rd8cf709  
    44#include "crash-logger.hpp"
    55
    6 //#include "vulkan-game.hpp"
    7 #include "sdl-game.hpp"
     6#include "vulkan-game.hpp"
     7//#include "sdl-game.hpp"
    88
    99using namespace std;
     
    2424
    2525   try {
    26       //game.run(800, 600, 0);
     26      game.run(800, 600, 0);
    2727      //game.run(800, 600, GUI_FLAGS_WINDOW_FULLSCREEN);
    28       game.run(1280, 720, 0);
    2928   } catch (const exception& e) {
    3029      cerr << e.what() << endl;
Note: See TracChangeset for help on using the changeset viewer.