glamor_transfer.c is still totally broken, though. Signed-off-by: Eric Anholt <e...@anholt.net> --- hw/kdrive/ephyr/ephyr_glamor_glx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/hw/kdrive/ephyr/ephyr_glamor_glx.c b/hw/kdrive/ephyr/ephyr_glamor_glx.c index 636150d..2f21914 100644 --- a/hw/kdrive/ephyr/ephyr_glamor_glx.c +++ b/hw/kdrive/ephyr/ephyr_glamor_glx.c @@ -225,8 +225,10 @@ ephyr_glamor_damage_redisplay(struct ephyr_glamor *glamor, if (glamor->vao) { glGetIntegerv(GL_VERTEX_ARRAY_BINDING, &old_vao); glBindVertexArray(glamor->vao); - } else + } else { + glBindBuffer(GL_ARRAY_BUFFER, glamor->vbo); ephyr_glamor_set_vertices(glamor); + } glBindFramebuffer(GL_FRAMEBUFFER, 0); glUseProgram(glamor->texture_shader); -- 2.7.0 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel