Changeset b6e60b4 in opengl-game for vulkan-game.hpp


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

In vulkangame and openglgame:

  • use int instead of usigned int for width and heights paremters
  • Fix a bug where GUI_FLAGS_WINDOW_FULLSCREEN was being incorrectly checked
  • Print the size of a window after it has been created
File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-game.hpp

    r7fc5e27 rb6e60b4  
    99      ~VulkanGame();
    1010
    11       void run(unsigned int width, unsigned int height, unsigned char guiFlags);
     11      void run(int width, int height, unsigned char guiFlags);
    1212
    1313   private:
     
    1515      SDL_Window* window;
    1616
    17       bool initWindow(unsigned int width, unsigned int height, unsigned char guiFlags);
     17      bool initWindow(int width, int height, unsigned char guiFlags);
    1818      void initVulkan();
    1919      void mainLoop();
Note: See TracChangeset for help on using the changeset viewer.