Déplacement de la texture test dans le dossier ressources
This commit is contained in:
parent
f13c636c6c
commit
bade345d6e
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
void Ball::draw(sf::RenderWindow& window) {
|
void Ball::draw(sf::RenderWindow& window) {
|
||||||
// chargement de la texture de test
|
// chargement de la texture de test
|
||||||
if (!texture.loadFromFile("./Images/texture_test.jpeg")) {
|
if (!texture.loadFromFile("./res/texture_test.jpeg")) {
|
||||||
// erreur
|
// erreur
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
void Block::draw(sf::RenderWindow& window) {
|
void Block::draw(sf::RenderWindow& window) {
|
||||||
// chargement de la texture de test
|
// chargement de la texture de test
|
||||||
if (!texture.loadFromFile("./Images/texture_test.jpeg")) {
|
if (!texture.loadFromFile("./res/texture_test.jpeg")) {
|
||||||
// erreur
|
// erreur
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue