Fix texture path on Tutorial07

Changing Data06 to Data07 in texture path.
This commit is contained in:
TexKiller
2017-03-09 05:00:43 -03:00
committed by GitHub
parent 38d58f4fae
commit eeb6f36ca6

View File

@@ -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;
} }