Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Dec 14, 2019
1 parent ddd79e9 commit ade57cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doomsday/apps/client/include/render/rendersystem.h
Expand Up @@ -55,7 +55,7 @@ class RenderSystem : public de::System
void glDeinit();

de::GLShaderBank &shaders();
de::ImageBank &images();
// de::ImageBank &images();
const de::GLUniform &uMapTime() const;
de::GLUniform &uProjectionMatrix() const;
de::GLUniform &uViewMatrix() const;
Expand Down
10 changes: 5 additions & 5 deletions doomsday/apps/client/src/render/rendersystem.cpp
Expand Up @@ -62,7 +62,7 @@ DE_PIMPL(RenderSystem)
SkyDrawable sky;
ConfigProfiles settings;
ConfigProfiles appearanceSettings;
ImageBank images;
// ImageBank images;

AngleClipper clipper;

Expand Down Expand Up @@ -422,10 +422,10 @@ GLShaderBank &RenderSystem::shaders()
return BaseGuiApp::shaders();
}

ImageBank &RenderSystem::images()
{
return d->images;
}
//ImageBank &RenderSystem::images()
//{
// return d->images;
//}

const GLUniform &RenderSystem::uMapTime() const
{
Expand Down
3 changes: 1 addition & 2 deletions doomsday/libs/gui/src/graphics/atlas.cpp
Expand Up @@ -390,8 +390,7 @@ Id Atlas::alloc(const Image &image, const Id &chosenId)
if (image.isNull())
{
LOG_AS("Atlas");
LOGDEV_GL_WARNING("Cannot allocate an empty image (%ix%i)") << image.width()
<< image.height();
LOGDEV_GL_VERBOSE("Attempted to allocate a null image");
return Id::None;
}

Expand Down

0 comments on commit ade57cc

Please sign in to comment.