mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Added an optional font hinting argument to love.graphics.newFont / love.font.newRasterizer when loading TrueType fonts. Resolves issue #963.
Accepted values are "normal", "light", "mono", and "none".
This commit is contained in:
@@ -137,7 +137,7 @@ void Image::generateMipmaps()
|
||||
{
|
||||
// Driver bug: http://www.opengl.org/wiki/Common_Mistakes#Automatic_mipmap_generation
|
||||
#if defined(LOVE_WINDOWS) || defined(LOVE_LINUX)
|
||||
if (gl.getVendor() == OpenGL::VENDOR_ATI_AMD)
|
||||
if (gl.getVendor() == OpenGL::VENDOR_AMD)
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user