Changeset 737c26a in opengl-game
- Timestamp:
- Feb 14, 2021, 3:32:01 AM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 1cb64e6
- Parents:
- 28ea92f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.cpp
r28ea92f r737c26a 31 31 32 32 VKAPI_ATTR VkBool32 VKAPI_CALL VulkanGame::debugCallback( 33 VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,34 VkDebugUtilsMessageTypeFlagsEXT messageType,35 const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData,36 void* pUserData) {33 VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, 34 VkDebugUtilsMessageTypeFlagsEXT messageType, 35 const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData, 36 void* pUserData) { 37 37 cerr << "validation layer: " << pCallbackData->pMessage << endl; 38 38 39 // TODO: Figure out what the return value means and if it should always be VK_FALSE 39 40 return VK_FALSE; 40 41 } … … 44 45 // Also, decide whether to use this-> for all instance variables, or only when necessary 45 46 46 this->debugMessenger = VK_NULL_HANDLE; 47 48 this->gui = nullptr; 49 this->window = nullptr; 50 51 this->swapChainPresentMode = VK_PRESENT_MODE_MAX_ENUM_KHR; 52 this->swapChainMinImageCount = 0; 47 debugMessenger = VK_NULL_HANDLE; 48 49 gui = nullptr; 50 window = nullptr; 51 52 swapChainPresentMode = VK_PRESENT_MODE_MAX_ENUM_KHR; 53 swapChainMinImageCount = 0; 54 55 shouldRecreateSwapChain = false; 53 56 } 54 57 … … 307 310 createImageViews(); 308 311 createRenderPass(); 312 309 313 createResourceCommandPool(); 310 311 314 createCommandPools(); 312 315
Note:
See TracChangeset
for help on using the changeset viewer.