Moved textures to data dir
This commit is contained in:
parent
ed015e0af7
commit
e5fbdd65c8
2 changed files with 1 additions and 1 deletions
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
|
|
@ -126,7 +126,7 @@ int main(int argc, char *argv[]) {
|
|||
// glBindVertexArray(0);
|
||||
|
||||
// Texture Load
|
||||
SDL_Surface *image = IMG_Load("./testxure.png");
|
||||
SDL_Surface *image = IMG_Load("./data/testxure.png");
|
||||
if (image == NULL) {
|
||||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't load texture");
|
||||
return EXIT_FAILURE;
|
||||
|
|
|
|||
Loading…
Reference in a new issue