mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Hopefully work around an nvidia graphics driver bug in OS X.
Some nvidia GPUs in OS X fail to render geometry that uses an OpenGL index buffer and client-side vertex arrays. This affected ParticleSystems and love.graphics.print. The code for those has been changed to use a client-side index array instead of an OpenGL index buffer.
This commit is contained in:
@@ -245,7 +245,7 @@ void Text::draw(float x, float y, float angle, float sx, float sy, float ox, flo
|
||||
|
||||
gl.useVertexAttribArrays(ATTRIBFLAG_POS | ATTRIBFLAG_TEXCOORD | ATTRIBFLAG_COLOR);
|
||||
|
||||
font->drawVertices(draw_commands);
|
||||
font->drawVertices(draw_commands, true);
|
||||
}
|
||||
|
||||
void Text::setFont(Font *f)
|
||||
|
||||
Reference in New Issue
Block a user