Skip to content

Commit

Permalink
libgui|ModelDrawable: Support loading TGA textures
Browse files Browse the repository at this point in the history
Format hint provided to de::Image.
  • Loading branch information
skyjake committed Apr 2, 2014
1 parent 024feb5 commit 7aab676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/libgui/src/graphics/modeldrawable.cpp
Expand Up @@ -397,7 +397,7 @@ DENG2_PIMPL(ModelDrawable)

qDebug() << " from" << texFile.description().toLatin1().constData();

materialTexIds[i] = atlas->alloc(Image::fromData(texFile));
materialTexIds[i] = atlas->alloc(Image::fromData(texFile, texFile.name().fileNameExtension()));
}
catch(Error const &er)
{
Expand Down

0 comments on commit 7aab676

Please sign in to comment.