vulkan: use staging buffer for Buffer operations

This commit is contained in:
niki
2022-09-18 04:31:24 +02:00
parent bf6915ae73
commit 9a91cfd593
3 changed files with 84 additions and 10 deletions
+1
View File
@@ -526,6 +526,7 @@ bool Graphics::setMode(void *context, int width, int height, int pixelwidth, int
createDefaultShaders();
Shader::current = Shader::standardShaders[Shader::StandardShader::STANDARD_DEFAULT];
createQuadIndexBuffer();
createFanIndexBuffer();
restoreState(states.back());