mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Some work towards OpenGL ES 2+ support for love 0.10.
--HG-- branch : minor
This commit is contained in:
@@ -330,7 +330,7 @@ void Polyline::draw()
|
||||
gl.prepareDraw();
|
||||
|
||||
// draw the core line
|
||||
gl.bindTexture(0);
|
||||
gl.bindTexture(gl.getDefaultTexture());
|
||||
glEnableVertexAttribArray(ATTRIB_POS);
|
||||
glVertexAttribPointer(ATTRIB_POS, 2, GL_FLOAT, GL_FALSE, 0, vertices);
|
||||
gl.drawArrays(draw_mode, 0, vertex_count);
|
||||
|
||||
Reference in New Issue
Block a user