Changeset f985231 in opengl-game for vulkan-ref.cpp


Ignore:
Timestamp:
Nov 7, 2019, 2:30:59 AM (4 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
cc4a8b5
Parents:
d2d9286
Message:

In vulkangame, update the MVP matrix and copy it to the uniform buffer to correctly display the scene

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vulkan-ref.cpp

    rd2d9286 rf985231  
    17941794            throw runtime_error("failed to acquire swap chain image!");
    17951795         }
    1796 /*** END OF REFACTORED CODE ***/
    17971796
    17981797         updateUniformBuffer(imageIndex);
    17991798
    1800 /*** START OF REFACTORED CODE ***/
    18011799         VkSubmitInfo submitInfo = {};
    18021800         submitInfo.sType = VK_STRUCTURE_TYPE_SUBMIT_INFO;
     
    18761874         populateImageFromSDLTexture(uiOverlay, sdlOverlayImage);
    18771875      }
    1878 /*** END OF REFACTORED CODE ***/
    18791876
    18801877      void updateUniformBuffer(uint32_t currentImage) {
     
    18961893      }
    18971894
    1898 /*** START OF REFACTORED CODE ***/
    18991895      void recreateSwapChain() {
    19001896         gui->refreshWindowSize();
Note: See TracChangeset for help on using the changeset viewer.