Fix use of uninitialized variable in Cycles OpenCL image textures.

This commit is contained in:
Brecht Van Lommel 2016-07-02 14:11:11 +02:00
parent 0d4961cc52
commit 2c9add965b

@ -1078,7 +1078,8 @@ void ImageManager::device_update_slot(Device *device,
uint8_t ImageManager::pack_image_options(ImageDataType type, size_t slot)
{
uint8_t options;
uint8_t options = 0;
/* Image Options are packed into one uint:
* bit 0 -> Interpolation
* bit 1 + 2 + 3-> Extension */