aboutsummaryrefslogtreecommitdiff
path: root/src/StaticImage.cpp
blob: 8d5bd636172742f30ca8515f355c2c5f153a609c (plain)
1
2
3
4
5
6
7
8
9
10
#include "../include/StaticImage.hpp"

namespace dchat
{
    SfmlStaticImage::SfmlStaticImage(const boost::filesystem::path &path)
    {
        if(!texture.loadFromFile(path.string()))
            fprintf(stderr, "Failed to create texture for static image!\n");
    }
}