mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
oopsy
This commit is contained in:
parent
7251774a7e
commit
768a400bf1
@ -3616,9 +3616,9 @@ apply_texture(TextureContext *tc) {
|
||||
#ifndef NDEBUG
|
||||
// sanity check
|
||||
extern char *PandaFilterNameStrs[];
|
||||
if((!(dtc->_bHasMipMaps))&&(mipfilter!=D3DTFP_NONE)) {
|
||||
if((!(dtc->_bHasMipMaps))&&(newMipFilter!=D3DTFP_NONE)) {
|
||||
dxgsg_cat.error() << "Trying to set mipmap filtering for texture with no generated mipmaps!! texname[" << tex->get_name() << "], filter("<<PandaFilterNameStrs[ft]<<")\n";
|
||||
mipfilter=D3DTFP_NONE;
|
||||
newMipFilter=D3DTFP_NONE;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -3186,7 +3186,7 @@ apply_texture(TextureContext *tc) {
|
||||
#ifndef NDEBUG
|
||||
// sanity check
|
||||
extern char *PandaFilterNameStrs[];
|
||||
if((!(dtc->_bHasMipMaps))&&(mipfilter!=D3DTEXF_NONE)) {
|
||||
if((!(dtc->_bHasMipMaps))&&(newMipFilter!=D3DTEXF_NONE)) {
|
||||
dxgsg_cat.error() << "Trying to set mipmap filtering for texture with no generated mipmaps!! texname[" << tex->get_name() << "], filter("<<PandaFilterNameStrs[ft]<<")\n";
|
||||
newMipFilter=D3DTEXF_NONE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user