Commits

Jason McKesson committed 913b011

Tut16: Using right texture.

  • Participants
  • Parent commits 0b2980a

Comments (0)

Files changed (1)

File Tut 16 Gamma and Textures/Gamma Landscape.cpp

 {
 	try
 	{
-		std::string filename(Framework::FindFileOrThrow("STest.png"));
+		std::string filename(Framework::FindFileOrThrow("terrain_tex.dds"));
 
-		std::auto_ptr<glimg::ImageSet> pImageSet(glimg::loaders::stb::LoadFromFile(filename.c_str()));
+		std::auto_ptr<glimg::ImageSet> pImageSet(glimg::loaders::dds::LoadFromFile(filename.c_str()));
 
 		glGenTextures(1, &g_linearTexture);
 		glBindTexture(GL_TEXTURE_2D, g_linearTexture);