Skip to content

Commit

Permalink
Fixed misleading error messages in GL about the Textures collection
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jan 4, 2012
1 parent ca2e42e commit 17d6d58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/portable/src/gl_texmanager.c
Expand Up @@ -1241,7 +1241,7 @@ texturevariantspecification_t* GL_TextureVariantSpecificationForContext(
boolean mipmapped, boolean gammaCorrection, boolean noStretch, boolean toAlpha)
{
if(!initedOk)
Con_Error("GL_TextureVariantSpecificationForContext: Textures collection not yet initialized.");
Con_Error("GL_TextureVariantSpecificationForContext: GL texture manager not yet initialized.");
return getVariantSpecificationForContext(tc, flags, border, tClass, tMap, wrapS,
wrapT, minFilter, magFilter, anisoFilter, mipmapped, gammaCorrection, noStretch, toAlpha);
}
Expand All @@ -1250,7 +1250,7 @@ texturevariantspecification_t* GL_DetailTextureVariantSpecificationForContext(
float contrast)
{
if(!initedOk)
Con_Error("GL_DetailTextureVariantSpecificationForContext: Textures collection not yet initialized.");
Con_Error("GL_DetailTextureVariantSpecificationForContext: GL texture manager not yet initialized.");
return getDetailVariantSpecificationForContext(contrast);
}

Expand Down

0 comments on commit 17d6d58

Please sign in to comment.