mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-26 20:30:05 +01:00
glamor: Drop fixed function transformation matrix setup.
gl_ModelViewProjection and friends aren't used in our shaders, so this setup didn't do anything. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
62965d278c
commit
12cbfeed81
1 changed files with 0 additions and 6 deletions
|
|
@ -69,12 +69,6 @@ glamor_set_destination_pixmap_fbo(glamor_pixmap_fbo *fbo, int x0, int y0,
|
|||
glamor_get_context(fbo->glamor_priv);
|
||||
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb);
|
||||
#ifndef GLAMOR_GLES2
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
#endif
|
||||
glViewport(x0, y0, width, height);
|
||||
|
||||
glamor_put_context(fbo->glamor_priv);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue