|
@@ -496,8 +496,8 @@ void Font::checkMipmapsCreated() const
|
|
|
if (!Image::hasMipmapSupport())
|
|
|
throw love::Exception("Mipmap filtering is not supported on this system!");
|
|
|
|
|
|
- GLboolean mipmapscreated;
|
|
|
- glGetTexParameteriv(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, (GLint *)&mipmapscreated);
|
|
|
+ GLint mipmapscreated;
|
|
|
+ glGetTexParameteriv(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, &mipmapscreated);
|
|
|
|
|
|
// generate mipmaps for this image if we haven't already
|
|
|
if (!mipmapscreated)
|