mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
Refactored code in Tutorial 05 (changed order of operaions - moved rendering resources creation to the beginning).
This commit is contained in:
@@ -25,15 +25,15 @@ int main( int argc, char **argv ) {
|
||||
}
|
||||
|
||||
// Tutorial 05
|
||||
if( !tutorial05.CreateRenderingResources() ) {
|
||||
return -1;
|
||||
}
|
||||
if( !tutorial05.CreateRenderPass() ) {
|
||||
return -1;
|
||||
}
|
||||
if( !tutorial05.CreatePipeline() ) {
|
||||
return -1;
|
||||
}
|
||||
if( !tutorial05.CreateRenderingResources() ) {
|
||||
return -1;
|
||||
}
|
||||
if( !tutorial05.CreateVertexBuffer() ) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user