Skip to content

Commit

Permalink
Model Renderer: Print a message when allocating a new model texture a…
Browse files Browse the repository at this point in the history
…tlas
  • Loading branch information
skyjake committed Jan 26, 2017
1 parent c81fa5d commit 224f63c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doomsday/apps/client/src/render/modelrenderer.cpp
Expand Up @@ -164,6 +164,9 @@ DENG2_PIMPL(ModelRenderer)
atlas->setBorderSize(1);
atlas->setMarginSize(0);

LOG_GL_MSG("New %ix%i model texture atlas allocated")
<< atlas->totalSize().x << atlas->totalSize().y;

return atlas;
}

Expand Down
2 changes: 1 addition & 1 deletion doomsday/sdk/libgui/src/graphics/modeldrawable.cpp
Expand Up @@ -1331,7 +1331,7 @@ DENG2_PIMPL(ModelDrawable)

// Is this pass disabled?
if (appearance && !appearance->passMask.isEmpty() &&
!appearance->passMask.testBit(i))
!appearance->passMask.testBit(i))
{
continue;
}
Expand Down

0 comments on commit 224f63c

Please sign in to comment.