Changeset 1ce9afe in opengl-game for vulkan-game.cpp


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

Add a fullscreen flag to GameGui::CreateWindow and implement fullscreen functionality and the ability to detect key presses in openglgame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.cpp

    r301d0d4 r1ce9afe  
    3737   cout << "GUI init succeeded" << endl;
    3838
    39    window = (SDL_Window*) gui->CreateWindow("Vulkan Game", width, height);
     39   window = (SDL_Window*) gui->CreateWindow("Vulkan Game", width, height, guiFlags | GUI_FLAGS_WINDOW_FULLSCREEN);
    4040   if (window == nullptr) {
    4141      cout << "Window could not be created!" << endl;
Note: See TracChangeset for help on using the changeset viewer.