DGLE-HQ / DGLE

Powerful independent cross-platform engine for 2D/3D games and visualizations. Young, strong and crazy!
http://dgle.dronprogs.org
GNU Lesser General Public License v3.0
161 stars 39 forks source link

Bugfix in ResourceManager #230

Open k-payl opened 8 years ago

k-payl commented 8 years ago

There are folowing strings around 861 line number in ResourceManager.cpp:

if (eCreateFlags & TCF_MIPMAPS_PRESENTED)
{
        if (eCreateFlags & TLF_GENERATE_MIPMAPS)
            (int &)eCreateFlags &= ~TLF_GENERATE_MIPMAPS;

...
}

I'm sure that in the second "if" must be eLoadFlags instead of eCreateFlags

megaDRONe86 commented 8 years ago

Thank you, it's true. Will be fixed.