Merge pull request #197 from Jasper-Bekkers/patch-1

Make image2dBase::load const
This commit is contained in:
Hans-Kristian Arntzen 2017-06-13 19:40:46 +02:00 committed by GitHub
commit 2890da9284

View File

@ -33,7 +33,7 @@ template <typename T>
struct image2DBase
{
virtual ~image2DBase() = default;
inline virtual T load(glm::ivec2 coord)
inline virtual T load(glm::ivec2 coord) const
{
return T(0, 0, 0, 1);
}