Skip to content

Commit

Permalink
Server: Initialize the texture gamma LUT during startup
Browse files Browse the repository at this point in the history
This LUT is also needed on the Server; it is presently used when
performing analyses of image resources.
  • Loading branch information
danij-deng committed Feb 19, 2013
1 parent a005e8b commit 9015115
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions doomsday/client/src/dd_main.cpp
Expand Up @@ -2130,6 +2130,7 @@ static int DD_StartupWorker(void* /*parm*/)
Con_ParseCommands("startup.cfg");
Con_SetProgress(90);

R_BuildTexGammaLut();
#ifdef __CLIENT__
GL_EarlyInitTextureManager();
#endif
Expand Down
1 change: 0 additions & 1 deletion doomsday/client/src/gl/gl_texmanager.cpp
Expand Up @@ -1048,7 +1048,6 @@ static uploadcontentmethod_t prepareDetailVariantFromImage(TextureVariant &tex,
void GL_EarlyInitTextureManager()
{
GL_InitSmartFilterHQ2x();
R_BuildTexGammaLut();

variantSpecs = NULL;
memset(detailVariantSpecs, 0, sizeof(detailVariantSpecs));
Expand Down

0 comments on commit 9015115

Please sign in to comment.