Code cleanup: remove some more unused code after recent CUDA changes.

This commit is contained in:
Brecht Van Lommel
2018-02-18 00:51:46 +01:00
parent 9e717c0495
commit 1dcd7db73d
7 changed files with 13 additions and 25 deletions

View File

@@ -254,7 +254,7 @@ int ImageManager::add_image(const string& filename,
/* Check whether it's a float texture. */
is_float = (type == IMAGE_DATA_TYPE_FLOAT || type == IMAGE_DATA_TYPE_FLOAT4);
/* No half textures on OpenCL, use available slots */
/* No half textures on OpenCL, use full float instead. */
if(!has_half_images) {
if(type == IMAGE_DATA_TYPE_HALF4) {
type = IMAGE_DATA_TYPE_FLOAT4;