Changeset 4eb4d0a in opengl-game for game-gui-sdl.cpp


Ignore:
Timestamp:
Aug 30, 2019, 4:01:54 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
99d44b2
Parents:
0df3c9a
Message:

Rename vulkan-game.cpp to vulkan-ref.cpp and define the GAMEGUI_INCLUDE_VULKAN preprocessor directive to control whether the gui-game classes build with Vulkan support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui-sdl.cpp

    r0df3c9a r4eb4d0a  
    4747}
    4848
     49#ifdef GAMEGUI_INCLUDE_VULKAN
     50
    4951bool GameGui_SDL::CreateVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) {
    5052   return SDL_Vulkan_CreateSurface(window, instance, surface) ?
    5153      RTWO_SUCCESS : RTWO_ERROR;
    5254}
     55
     56#endif
    5357
    5458vector<const char*> GameGui_SDL::GetRequiredExtensions() {
Note: See TracChangeset for help on using the changeset viewer.