Renamed some things.

This commit is contained in:
Alex Szpakowski
2016-02-18 22:11:41 -04:00
parent bd93f0dfef
commit cf4b409302
17 changed files with 43 additions and 50 deletions
+2 -2
View File
@@ -308,7 +308,7 @@ bool Image::loadVolatile()
// NPOT textures don't support mipmapping without full NPOT support.
if ((GLAD_ES_VERSION_2_0 && !(GLAD_ES_VERSION_3_0 || GLAD_OES_texture_npot))
&& (width != next_p2(width) || height != next_p2(height)))
&& (width != nextP2(width) || height != nextP2(height)))
{
flags.mipmaps = false;
filter.mipmap = FILTER_NONE;
@@ -519,7 +519,7 @@ bool Image::setWrap(const Texture::Wrap &w)
wrap = w;
if ((GLAD_ES_VERSION_2_0 && !(GLAD_ES_VERSION_3_0 || GLAD_OES_texture_npot))
&& (width != next_p2(width) || height != next_p2(height)))
&& (width != nextP2(width) || height != nextP2(height)))
{
if (wrap.s != WRAP_CLAMP || wrap.t != WRAP_CLAMP)
success = false;