Merge pull request #19 from TexKiller/patch-1

Fix texture path on Tutorial07
This commit is contained in:
Pawel Lapinski
2017-03-09 11:03:04 +01:00
committed by GitHub

View File

@@ -175,7 +175,7 @@ namespace ApiWithoutSecrets {
bool Tutorial07::CreateTexture() {
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 ) {
return false;
}