From: Abaco <aba...@ct...> - 2001-01-05 19:30:42
|
Hi, I´m sitting here in an internet-shop in Spain, so if you won´t be able to mail me, for now. But monday I´m back in the Netherlands. I think an error exists in the function _swrast_choose_texture_sample_func in the file src/swrast/s_texture.c. Instead of if (needLambda) { /* Compute min/mag filter threshold */ if (t->MagFilter==GL_LINEAR && (t->MinFilter==GL_NEAREST_MIPMAP_NEAREST || t->MinFilter==GL_LINEAR_MIPMAP_NEAREST)) { swrast->_MinMagThresh[texUnit] = 0.5F; } it should be if (needLambda) { /* Compute min/mag filter threshold */ if ((t->MagFilter==GL_LINEAR && t->MinFilter==GL_LINEAR_MIPMAP_NEAREST) || (t->MagFilter==GL_NEAREST && t->MinFilter==GL_NEAREST_MIPMAP_NEAREST)) { swrast->_MinMagThresh[texUnit] = 0.5F; } I hope this email is send in ASCII and not windows-format-whatever... Bye Klaus |