We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 970fee0 commit 1b89ed4Copy full SHA for 1b89ed4
1 file changed
src/pbrt/textures.cpp
@@ -1086,13 +1086,6 @@ GPUSpectrumImageTexture *GPUSpectrumImageTexture::Create(
1086
// Initialize _ImageTexture_ parameters
1087
Float maxAniso = parameters.GetOneFloat("maxanisotropy", 8.f);
1088
std::string filter = parameters.GetOneString("filter", "bilinear");
1089
- MIPMapFilterOptions filterOptions;
1090
- filterOptions.maxAnisotropy = maxAniso;
1091
- pstd::optional<FilterFunction> ff = ParseFilter(filter);
1092
- if (ff)
1093
- filterOptions.filter = *ff;
1094
- else
1095
- Error(loc, "%s: filter function unknown", filter);
1096
1097
std::string wrapString = parameters.GetOneString("wrap", "repeat");
1098
pstd::optional<WrapMode> wrapMode = ParseWrapMode(wrapString.c_str());
0 commit comments