mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
ephyr: Fix redisplay with glamor on GLES.
glamor_transfer.c is still totally broken, though. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
committed by
Adam Jackson
parent
0b4c0c75d0
commit
c01094c531
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user