Remove "Loading byte/float" debug messages. They were added at the time
we've been looking into texture limit for Mango and it's not needed now. Anyway, this prints didn't cover all the cases when images were loading.
This commit is contained in:
@@ -235,8 +235,6 @@ bool ImageManager::file_load_image(Image *img, device_vector<uchar4>& tex_img)
|
||||
return false;
|
||||
}
|
||||
|
||||
printf("loading byte image: '%s' %dx%d\n", img->filename.c_str(), width, height);
|
||||
|
||||
/* read RGBA pixels */
|
||||
uchar *pixels = (uchar*)tex_img.resize(width, height);
|
||||
int scanlinesize = width*components*sizeof(uchar);
|
||||
@@ -299,8 +297,6 @@ bool ImageManager::file_load_float_image(Image *img, device_vector<float4>& tex_
|
||||
return false;
|
||||
}
|
||||
|
||||
printf("loading float image: '%s' %dx%d\n", img->filename.c_str(), width, height);
|
||||
|
||||
/* read RGBA pixels */
|
||||
float *pixels = (float*)tex_img.resize(width, height);
|
||||
int scanlinesize = width*components*sizeof(float);
|
||||
|
Reference in New Issue
Block a user