aboutsummaryrefslogtreecommitdiff
path: root/mesalib/progs/util/idproj.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-11-22 19:42:40 +0000
committermarha <marha@users.sourceforge.net>2010-11-22 19:42:40 +0000
commit85ef9930f56bf15181f9a0b238f03d55303cf411 (patch)
tree63b43286956ebd1c35c96e9b3d5305aabdf71a0f /mesalib/progs/util/idproj.c
parent94810d19989336862251dbf69c3f3acb18a9b06d (diff)
downloadvcxsrv-85ef9930f56bf15181f9a0b238f03d55303cf411.tar.gz
vcxsrv-85ef9930f56bf15181f9a0b238f03d55303cf411.tar.bz2
vcxsrv-85ef9930f56bf15181f9a0b238f03d55303cf411.zip
Updated to mesalib 7.9
Diffstat (limited to 'mesalib/progs/util/idproj.c')
-rw-r--r--mesalib/progs/util/idproj.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/mesalib/progs/util/idproj.c b/mesalib/progs/util/idproj.c
deleted file mode 100644
index d5ee3409f..000000000
--- a/mesalib/progs/util/idproj.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* idproj.c */
-
-
-/*
- * Setup an identity projection such that glVertex(x,y) maps to
- * window coordinate (x,y).
- *
- * Written by Brian Paul and in the public domain.
- */
-
-
-
-
-
-void IdentityProjection( GLint x, GLint y, GLsizei width, GLsizei height )
-{
- glViewport( x, y, width, height );
- glMatrixMode( GL_PROJECTION );
- glLoadIdentity();
- glOrtho( (GLdouble) x, (GLdouble) y,
- (GLdouble) width, (GLdouble) height,
- -1.0, 1.0 );
- glMatrixMode( GL_MODELVIEW );
- glLoadIdentity();
-}
-