mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 00:38:00 +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>
This commit is contained in:
parent
0b4c0c75d0
commit
c01094c531
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