mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
Merge pull request #19 from TexKiller/patch-1
Fix texture path on Tutorial07
This commit is contained in:
@@ -175,7 +175,7 @@ namespace ApiWithoutSecrets {
|
|||||||
|
|
||||||
bool Tutorial07::CreateTexture() {
|
bool Tutorial07::CreateTexture() {
|
||||||
int width = 0, height = 0, data_size = 0;
|
int width = 0, height = 0, data_size = 0;
|
||||||
std::vector<char> texture_data = Tools::GetImageData( "Data06/texture.png", 4, &width, &height, nullptr, &data_size );
|
std::vector<char> texture_data = Tools::GetImageData( "Data07/texture.png", 4, &width, &height, nullptr, &data_size );
|
||||||
if( texture_data.size() == 0 ) {
|
if( texture_data.size() == 0 ) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user