summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-02-28 13:01:57 -0500
committerZhigang Gong <zhigang.gong@gmail.com>2014-03-13 21:52:16 +0800
commite2a9300cc7d48ed38a527befa163b810b9a4ca19 (patch)
tree90b47364eed984d6d8cc97c5c997ffe8597b603e
parent6c8f1f17490017ff01a3b43d32067fc91da3bac1 (diff)
glamor: Drop fixed function transformation matrix setup.
gl_ModelViewProjection and friends aren't used in our shaders, so this setup didn't do anything. Pulled from Eric's xserver glamor port. Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--src/glamor_pixmap.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/glamor_pixmap.c b/src/glamor_pixmap.c
index 368812a..4e0f876 100644
--- a/src/glamor_pixmap.c
+++ b/src/glamor_pixmap.c
@@ -68,12 +68,6 @@ glamor_set_destination_pixmap_fbo(glamor_pixmap_fbo * fbo, int x0, int y0, int w
{
glamor_gl_dispatch *dispatch = glamor_get_dispatch(fbo->glamor_priv);
dispatch->glBindFramebuffer(GL_FRAMEBUFFER, fbo->fb);
-#ifndef GLAMOR_GLES2
- dispatch->glMatrixMode(GL_PROJECTION);
- dispatch->glLoadIdentity();
- dispatch->glMatrixMode(GL_MODELVIEW);
- dispatch->glLoadIdentity();
-#endif
dispatch->glViewport(x0, y0,
width, height);