Fix T39247

Changes to interpolation break texture allocation on sm35 and greater.
This commit is contained in:
Martijn Berger 2014-03-19 07:36:34 +01:00
parent a91247c2b4
commit 28c1a860e2

@ -457,7 +457,7 @@ public:
CUarray_format_enum format;
size_t dsize = datatype_size(mem.data_type);
size_t size = mem.memory_size();
bool use_texture = interpolation || use_texture_storage;
bool use_texture = (interpolation != INTERPOLATION_NONE) || use_texture_storage;
if(use_texture) {