Skip to content

Commit

Permalink
libgui|ModelDrawable: Commit textures are initialization complete
Browse files Browse the repository at this point in the history
When using IAtlas, commit() is expected after all the images have been
allocated. MultiAtlas::AllocGroup will then decide on which atlas to
actually place the allocations.
  • Loading branch information
skyjake committed Oct 26, 2015
1 parent 6084dea commit b06e7e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/sdk/libgui/src/graphics/modeldrawable.cpp
Expand Up @@ -470,6 +470,8 @@ DENG2_PIMPL(ModelDrawable)
fallBackToDefaultTexture(textures, Emissive);
}
}
// All textures loaded.
textureBank.atlas()->commit();
}

/**
Expand Down

0 comments on commit b06e7e6

Please sign in to comment.