Commits

Jason McKesson committed e035e59

Fix for image loading.

  • Participants
  • Parent commits b6b25ea

Comments (0)

Files changed (1)

File Tut 14 Textures Are Not Pictures/Material Texture.cpp

 	    filename.append("main.dds");
 	    
 		pImageSet.reset(glimg::loaders::dds::LoadFromFile(filename.c_str()));
-		std::auto_ptr<glimg::Image> pImage(pImageSet->GetImage(0, 0, 0));
+		std::auto_ptr<glimg::SingleImage> pImage(pImageSet->GetImage(0, 0, 0));
 
 		glimg::Dimensions dims = pImage->GetDimensions();