Déplacement de la texture test dans le dossier ressources

This commit is contained in:
Mattéo Delabre 2016-03-12 18:46:07 +01:00
parent f13c636c6c
commit bade345d6e
3 changed files with 2 additions and 2 deletions

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@ -2,7 +2,7 @@
void Ball::draw(sf::RenderWindow& window) {
// chargement de la texture de test
if (!texture.loadFromFile("./Images/texture_test.jpeg")) {
if (!texture.loadFromFile("./res/texture_test.jpeg")) {
// erreur
}

View File

@ -2,7 +2,7 @@
void Block::draw(sf::RenderWindow& window) {
// chargement de la texture de test
if (!texture.loadFromFile("./Images/texture_test.jpeg")) {
if (!texture.loadFromFile("./res/texture_test.jpeg")) {
// erreur
}