Fixed flicering (it was missmatched indices
This commit is contained in:
parent
639f54c7bf
commit
d733b641b8
42
.gitignore
vendored
42
.gitignore
vendored
@ -1 +1,41 @@
|
|||||||
build
|
# Build directories
|
||||||
|
build/
|
||||||
|
build-*/
|
||||||
|
cmake-build-*/
|
||||||
|
|
||||||
|
# CMake generated files
|
||||||
|
CMakeFiles/
|
||||||
|
CMakeCache.txt
|
||||||
|
cmake_install.cmake
|
||||||
|
Makefile
|
||||||
|
|
||||||
|
# Compiled objects
|
||||||
|
*.o
|
||||||
|
*.obj
|
||||||
|
*.so
|
||||||
|
*.dll
|
||||||
|
*.exe
|
||||||
|
*.out
|
||||||
|
|
||||||
|
# Static / dynamic libs
|
||||||
|
*.a
|
||||||
|
*.lib
|
||||||
|
|
||||||
|
# Debug / logs
|
||||||
|
*.log
|
||||||
|
|
||||||
|
# IDE / editors
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.swp
|
||||||
|
|
||||||
|
# OS files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# direnv
|
||||||
|
.direnv/
|
||||||
|
|
||||||
|
# Nix flakes
|
||||||
|
result
|
||||||
|
result-*
|
||||||
|
|||||||
@ -1022,7 +1022,7 @@ class HelloTriangleApplication {
|
|||||||
commandBuffer.begin( {} );
|
commandBuffer.begin( {} );
|
||||||
|
|
||||||
transition_image_layout(
|
transition_image_layout(
|
||||||
swapChainImages[frameIndex],
|
swapChainImages[imageIndex],
|
||||||
vk::ImageLayout::eUndefined,
|
vk::ImageLayout::eUndefined,
|
||||||
vk::ImageLayout::eColorAttachmentOptimal,
|
vk::ImageLayout::eColorAttachmentOptimal,
|
||||||
{},
|
{},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user