Changeset 4eb4d0a in opengl-game for game-gui-glfw.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-glfw.cpp

    r0df3c9a r4eb4d0a  
    2222}
    2323
     24#ifdef GAMEGUI_INCLUDE_VULKAN
     25
    2426bool GameGui_GLFW::CreateVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) {
    2527   return glfwCreateWindowSurface(instance, window, nullptr, surface) == VK_SUCCESS ?
    2628      RTWO_SUCCESS : RTWO_ERROR;
    2729}
     30
     31#endif
    2832
    2933vector<const char*> GameGui_GLFW::GetRequiredExtensions() {
Note: See TracChangeset for help on using the changeset viewer.