Make a couple minor corrections to gl_API.xml. Fixes the name of an
[mesa.git] / src / glx / x11 / indirect_window_pos.c
1 /*
2 * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
3 * (C) Copyright IBM Corporation 2004
4 * All Rights Reserved.
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sub license,
10 * and/or sell copies of the Software, and to permit persons to whom the
11 * Software is furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice (including the next
14 * paragraph) shall be included in all copies or substantial portions of the
15 * Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
20 * PRECISION INSIGHT, IBM,
21 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
23 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24 * SOFTWARE.
25 */
26
27 #include <GL/gl.h>
28 #include "indirect.h"
29
30 void __indirect_glWindowPos2dMESA(GLdouble x, GLdouble y)
31 {
32 __indirect_glWindowPos3fMESA(x, y, 0.0);
33 }
34
35 void __indirect_glWindowPos2iMESA(GLint x, GLint y)
36 {
37 __indirect_glWindowPos3fMESA(x, y, 0.0);
38 }
39
40 void __indirect_glWindowPos2fMESA(GLfloat x, GLfloat y)
41 {
42 __indirect_glWindowPos3fMESA(x, y, 0.0);
43 }
44
45 void __indirect_glWindowPos2sMESA(GLshort x, GLshort y)
46 {
47 __indirect_glWindowPos3fMESA(x, y, 0.0);
48 }
49
50 void __indirect_glWindowPos2dvMESA(const GLdouble * p)
51 {
52 __indirect_glWindowPos3fMESA(p[0], p[1], 0.0);
53 }
54
55 void __indirect_glWindowPos2fvMESA(const GLfloat * p)
56 {
57 __indirect_glWindowPos3fMESA(p[0], p[1], 0.0);
58 }
59
60 void __indirect_glWindowPos2ivMESA(const GLint * p)
61 {
62 __indirect_glWindowPos3fMESA(p[0], p[1], 0.0);
63 }
64
65 void __indirect_glWindowPos2svMESA(const GLshort * p)
66 {
67 __indirect_glWindowPos3fMESA(p[0], p[1], 0.0);
68 }
69
70 void __indirect_glWindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z)
71 {
72 __indirect_glWindowPos3fMESA(x, y, z);
73 }
74
75 void __indirect_glWindowPos3iMESA(GLint x, GLint y, GLint z)
76 {
77 __indirect_glWindowPos3fMESA(x, y, z);
78 }
79
80 void __indirect_glWindowPos3sMESA(GLshort x, GLshort y, GLshort z)
81 {
82 __indirect_glWindowPos3fMESA(x, y, z);
83 }
84
85 void __indirect_glWindowPos3dvMESA(const GLdouble * p)
86 {
87 __indirect_glWindowPos3fMESA(p[0], p[1], p[2]);
88 }
89
90 void __indirect_glWindowPos3ivMESA(const GLint * p)
91 {
92 __indirect_glWindowPos3fMESA(p[0], p[1], p[2]);
93 }
94
95 void __indirect_glWindowPos3svMESA(const GLshort * p)
96 {
97 __indirect_glWindowPos3fMESA(p[0], p[1], p[2]);
98 }