Skip to content

Commit

Permalink
The TGA and PNG image loaders now track the last encountered error wh…
Browse files Browse the repository at this point in the history
…ile loading; utilize in the file handlers for these.
  • Loading branch information
danij-deng committed Feb 18, 2011
1 parent 1c9f9f4 commit 0a295be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/portable/src/gl_texmanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ static boolean highResWithPWAD = false;
// Image file handlers.
static const imagehandler_t handlers[] = {
{ "PNG", "png", tryLoadPNG, PNG_LastError },
{ "TGA", "tga", tryLoadTGA, 0 },
{ "PCX", "pcx", tryLoadPCX, 0 },
{ "TGA", "tga", tryLoadTGA, TGA_LastError },
{ "PCX", "pcx", tryLoadPCX, PCX_LastError },
{ 0 } // Terminate.
};

Expand Down

0 comments on commit 0a295be

Please sign in to comment.