mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-03 04:18:04 +02: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>
(cherry picked from commit c01094c531)
This commit is contained in:
parent
5af20f1563
commit
2a7b6ea1a5
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue