Browse Source

Fix texture path in invaders sample

Marco Bortolin 6 years ago
parent
commit
4218ed41ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Samples/invaders/src/Game.cpp

+ 1 - 1
Samples/invaders/src/Game.cpp

@@ -80,7 +80,7 @@ Game::Game()
 
 
 	// Use the OpenGL render interface to load our texture.
 	// Use the OpenGL render interface to load our texture.
 	Rocket::Core::Vector2i texture_dimensions;
 	Rocket::Core::Vector2i texture_dimensions;
-	Rocket::Core::GetRenderInterface()->LoadTexture(texture, texture_dimensions, "data/invaders.tga");
+	Rocket::Core::GetRenderInterface()->LoadTexture(texture, texture_dimensions, "invaders/data/invaders.tga");
 
 
 	defender = new Defender(this);
 	defender = new Defender(this);
 }
 }