opengl_norm.c 119 KB
Newer Older
Lionel Ulmer's avatar
Lionel Ulmer committed
1 2 3 4

/* Auto-generated file... Do not edit ! */

#include "config.h"
5
#include "opengl_ext.h"
6
#include "wine/debug.h"
Lionel Ulmer's avatar
Lionel Ulmer committed
7

8
typedef const GLubyte * GLstring;
Lionel Ulmer's avatar
Lionel Ulmer committed
9

10
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
11

12
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
13
 *              glAccum (OPENGL32.@)
14
 */
15
void WINAPI wine_glAccum( GLenum op, GLfloat value ) {
16
  TRACE("(%d, %f)\n", op, value );
Lionel Ulmer's avatar
Lionel Ulmer committed
17
  ENTER_GL();
18
  glAccum( op, value );
Lionel Ulmer's avatar
Lionel Ulmer committed
19 20 21
  LEAVE_GL();
}

22
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
23
 *              glActiveTextureARB (OPENGL32.@)
24
 */
25
void WINAPI wine_glActiveTextureARB( GLenum texture ) {
26
  TRACE("(%d)\n", texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
27
  ENTER_GL();
28
  glActiveTextureARB( texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
29 30 31
  LEAVE_GL();
}

32
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
33
 *              glAlphaFunc (OPENGL32.@)
34
 */
35
void WINAPI wine_glAlphaFunc( GLenum func, GLclampf ref ) {
36
  TRACE("(%d, %f)\n", func, ref );
Lionel Ulmer's avatar
Lionel Ulmer committed
37
  ENTER_GL();
38
  glAlphaFunc( func, ref );
Lionel Ulmer's avatar
Lionel Ulmer committed
39 40 41
  LEAVE_GL();
}

42
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
43
 *              glAreTexturesResident (OPENGL32.@)
44
 */
45 46
GLboolean WINAPI wine_glAreTexturesResident( GLsizei n, GLuint* textures, GLboolean* residences ) {
  GLboolean ret_value;
47
  TRACE("(%d, %p, %p)\n", n, textures, residences );
Lionel Ulmer's avatar
Lionel Ulmer committed
48
  ENTER_GL();
49
  ret_value = glAreTexturesResident( n, textures, residences );
Lionel Ulmer's avatar
Lionel Ulmer committed
50
  LEAVE_GL();
51
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
52 53
}

54
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
55
 *              glArrayElement (OPENGL32.@)
56
 */
57
void WINAPI wine_glArrayElement( GLint i ) {
58
  TRACE("(%d)\n", i );
Lionel Ulmer's avatar
Lionel Ulmer committed
59
  ENTER_GL();
60
  glArrayElement( i );
Lionel Ulmer's avatar
Lionel Ulmer committed
61 62 63
  LEAVE_GL();
}

64
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
65
 *              glBegin (OPENGL32.@)
66
 */
67
void WINAPI wine_glBegin( GLenum mode ) {
68
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
69
  ENTER_GL();
70
  glBegin( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
71 72 73
  LEAVE_GL();
}

74
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
75
 *              glBindTexture (OPENGL32.@)
76
 */
77
void WINAPI wine_glBindTexture( GLenum target, GLuint texture ) {
78
  TRACE("(%d, %d)\n", target, texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
79
  ENTER_GL();
80
  glBindTexture( target, texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
81 82 83
  LEAVE_GL();
}

84
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
85
 *              glBitmap (OPENGL32.@)
86
 */
87
void WINAPI wine_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte* bitmap ) {
88
  TRACE("(%d, %d, %f, %f, %f, %f, %p)\n", width, height, xorig, yorig, xmove, ymove, bitmap );
Lionel Ulmer's avatar
Lionel Ulmer committed
89
  ENTER_GL();
90
  glBitmap( width, height, xorig, yorig, xmove, ymove, bitmap );
Lionel Ulmer's avatar
Lionel Ulmer committed
91 92 93
  LEAVE_GL();
}

94
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
95
 *              glBlendColor (OPENGL32.@)
96
 */
97
void WINAPI wine_glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
98
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
99
  ENTER_GL();
100
  glBlendColor( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
101 102 103
  LEAVE_GL();
}

104
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
105
 *              glBlendEquation (OPENGL32.@)
106
 */
107
void WINAPI wine_glBlendEquation( GLenum mode ) {
108
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
109
  ENTER_GL();
110
  glBlendEquation( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
111 112 113
  LEAVE_GL();
}

114
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
115
 *              glBlendFunc (OPENGL32.@)
116
 */
117
void WINAPI wine_glBlendFunc( GLenum sfactor, GLenum dfactor ) {
118
  TRACE("(%d, %d)\n", sfactor, dfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
119
  ENTER_GL();
120
  glBlendFunc( sfactor, dfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
121 122 123
  LEAVE_GL();
}

124
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
125
 *              glCallList (OPENGL32.@)
126
 */
127
void WINAPI wine_glCallList( GLuint list ) {
128
  TRACE("(%d)\n", list );
Lionel Ulmer's avatar
Lionel Ulmer committed
129
  ENTER_GL();
130
  glCallList( list );
Lionel Ulmer's avatar
Lionel Ulmer committed
131 132 133
  LEAVE_GL();
}

134
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
135
 *              glCallLists (OPENGL32.@)
136
 */
137
void WINAPI wine_glCallLists( GLsizei n, GLenum type, GLvoid* lists ) {
138
  TRACE("(%d, %d, %p)\n", n, type, lists );
Lionel Ulmer's avatar
Lionel Ulmer committed
139
  ENTER_GL();
140
  glCallLists( n, type, lists );
Lionel Ulmer's avatar
Lionel Ulmer committed
141 142 143
  LEAVE_GL();
}

144
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
145
 *              glClear (OPENGL32.@)
146
 */
147
void WINAPI wine_glClear( GLbitfield mask ) {
148
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
149
  ENTER_GL();
150
  glClear( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
151 152 153
  LEAVE_GL();
}

154
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
155
 *              glClearAccum (OPENGL32.@)
156
 */
157
void WINAPI wine_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
158
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
159
  ENTER_GL();
160
  glClearAccum( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
161 162 163
  LEAVE_GL();
}

164
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
165
 *              glClearColor (OPENGL32.@)
166
 */
167
void WINAPI wine_glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
168
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
169
  ENTER_GL();
170
  glClearColor( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
171 172 173
  LEAVE_GL();
}

174
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
175
 *              glClearDepth (OPENGL32.@)
176
 */
177
void WINAPI wine_glClearDepth( GLclampd depth ) {
178
  TRACE("(%f)\n", depth );
Lionel Ulmer's avatar
Lionel Ulmer committed
179
  ENTER_GL();
180
  glClearDepth( depth );
Lionel Ulmer's avatar
Lionel Ulmer committed
181 182 183
  LEAVE_GL();
}

184
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
185
 *              glClearIndex (OPENGL32.@)
186
 */
187
void WINAPI wine_glClearIndex( GLfloat c ) {
188
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
189
  ENTER_GL();
190
  glClearIndex( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
191 192 193
  LEAVE_GL();
}

194
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
195
 *              glClearStencil (OPENGL32.@)
196
 */
197
void WINAPI wine_glClearStencil( GLint s ) {
198
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
199
  ENTER_GL();
200
  glClearStencil( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
201 202 203
  LEAVE_GL();
}

204
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
205
 *              glClientActiveTextureARB (OPENGL32.@)
206
 */
207
void WINAPI wine_glClientActiveTextureARB( GLenum texture ) {
208
  TRACE("(%d)\n", texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
209
  ENTER_GL();
210
  glClientActiveTextureARB( texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
211 212 213
  LEAVE_GL();
}

214
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
215
 *              glClipPlane (OPENGL32.@)
216
 */
217
void WINAPI wine_glClipPlane( GLenum plane, GLdouble* equation ) {
218
  TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
219
  ENTER_GL();
220
  glClipPlane( plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
221 222 223
  LEAVE_GL();
}

224
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
225
 *              glColor3b (OPENGL32.@)
226
 */
227
void WINAPI wine_glColor3b( GLbyte red, GLbyte green, GLbyte blue ) {
228
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
229
  ENTER_GL();
230
  glColor3b( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
231 232 233
  LEAVE_GL();
}

234
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
235
 *              glColor3bv (OPENGL32.@)
236
 */
237
void WINAPI wine_glColor3bv( GLbyte* v ) {
238
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
239
  ENTER_GL();
240
  glColor3bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
241 242 243
  LEAVE_GL();
}

244
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
245
 *              glColor3d (OPENGL32.@)
246
 */
247
void WINAPI wine_glColor3d( GLdouble red, GLdouble green, GLdouble blue ) {
248
  TRACE("(%f, %f, %f)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
249
  ENTER_GL();
250
  glColor3d( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
251 252 253
  LEAVE_GL();
}

254
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
255
 *              glColor3dv (OPENGL32.@)
256
 */
257
void WINAPI wine_glColor3dv( GLdouble* v ) {
258
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
259
  ENTER_GL();
260
  glColor3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
261 262 263
  LEAVE_GL();
}

264
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
265
 *              glColor3f (OPENGL32.@)
266
 */
267
void WINAPI wine_glColor3f( GLfloat red, GLfloat green, GLfloat blue ) {
268
  TRACE("(%f, %f, %f)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
269
  ENTER_GL();
270
  glColor3f( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
271 272 273
  LEAVE_GL();
}

274
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
275
 *              glColor3fv (OPENGL32.@)
276
 */
277
void WINAPI wine_glColor3fv( GLfloat* v ) {
278
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
279
  ENTER_GL();
280
  glColor3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
281 282 283
  LEAVE_GL();
}

284
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
285
 *              glColor3i (OPENGL32.@)
286
 */
287
void WINAPI wine_glColor3i( GLint red, GLint green, GLint blue ) {
288
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
289
  ENTER_GL();
290
  glColor3i( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
291 292 293
  LEAVE_GL();
}

294
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
295
 *              glColor3iv (OPENGL32.@)
296
 */
297
void WINAPI wine_glColor3iv( GLint* v ) {
298
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
299
  ENTER_GL();
300
  glColor3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
301 302 303
  LEAVE_GL();
}

304
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
305
 *              glColor3s (OPENGL32.@)
306
 */
307
void WINAPI wine_glColor3s( GLshort red, GLshort green, GLshort blue ) {
308
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
309
  ENTER_GL();
310
  glColor3s( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
311 312 313
  LEAVE_GL();
}

314
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
315
 *              glColor3sv (OPENGL32.@)
316
 */
317
void WINAPI wine_glColor3sv( GLshort* v ) {
318
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
319
  ENTER_GL();
320
  glColor3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
321 322 323
  LEAVE_GL();
}

324
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
325
 *              glColor3ub (OPENGL32.@)
326
 */
327
void WINAPI wine_glColor3ub( GLubyte red, GLubyte green, GLubyte blue ) {
328
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
329
  ENTER_GL();
330
  glColor3ub( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
331 332 333
  LEAVE_GL();
}

334
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
335
 *              glColor3ubv (OPENGL32.@)
336
 */
337
void WINAPI wine_glColor3ubv( GLubyte* v ) {
338
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
339
  ENTER_GL();
340
  glColor3ubv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
341 342 343
  LEAVE_GL();
}

344
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
345
 *              glColor3ui (OPENGL32.@)
346
 */
347
void WINAPI wine_glColor3ui( GLuint red, GLuint green, GLuint blue ) {
348
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
349
  ENTER_GL();
350
  glColor3ui( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
351 352 353
  LEAVE_GL();
}

354
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
355
 *              glColor3uiv (OPENGL32.@)
356
 */
357
void WINAPI wine_glColor3uiv( GLuint* v ) {
358
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
359
  ENTER_GL();
360
  glColor3uiv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
361 362 363
  LEAVE_GL();
}

364
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
365
 *              glColor3us (OPENGL32.@)
366
 */
367
void WINAPI wine_glColor3us( GLushort red, GLushort green, GLushort blue ) {
368
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
369
  ENTER_GL();
370
  glColor3us( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
371 372 373
  LEAVE_GL();
}

374
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
375
 *              glColor3usv (OPENGL32.@)
376
 */
377
void WINAPI wine_glColor3usv( GLushort* v ) {
378
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
379
  ENTER_GL();
380
  glColor3usv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
381 382 383
  LEAVE_GL();
}

384
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
385
 *              glColor4b (OPENGL32.@)
386
 */
387
void WINAPI wine_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) {
388
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
389
  ENTER_GL();
390
  glColor4b( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
391 392 393
  LEAVE_GL();
}

394
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
395
 *              glColor4bv (OPENGL32.@)
396
 */
397
void WINAPI wine_glColor4bv( GLbyte* v ) {
398
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
399
  ENTER_GL();
400
  glColor4bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
401 402 403
  LEAVE_GL();
}

404
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
405
 *              glColor4d (OPENGL32.@)
406
 */
407
void WINAPI wine_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) {
408
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
409
  ENTER_GL();
410
  glColor4d( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
411 412 413
  LEAVE_GL();
}

414
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
415
 *              glColor4dv (OPENGL32.@)
416
 */
417
void WINAPI wine_glColor4dv( GLdouble* v ) {
418
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
419
  ENTER_GL();
420
  glColor4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
421 422 423
  LEAVE_GL();
}

424
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
425
 *              glColor4f (OPENGL32.@)
426
 */
427
void WINAPI wine_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
428
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
429
  ENTER_GL();
430
  glColor4f( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
431 432 433
  LEAVE_GL();
}

434
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
435
 *              glColor4fv (OPENGL32.@)
436
 */
437
void WINAPI wine_glColor4fv( GLfloat* v ) {
438
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
439
  ENTER_GL();
440
  glColor4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
441 442 443
  LEAVE_GL();
}

444
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
445
 *              glColor4i (OPENGL32.@)
446
 */
447
void WINAPI wine_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) {
448
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
449
  ENTER_GL();
450
  glColor4i( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
451 452 453
  LEAVE_GL();
}

454
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
455
 *              glColor4iv (OPENGL32.@)
456
 */
457
void WINAPI wine_glColor4iv( GLint* v ) {
458
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
459
  ENTER_GL();
460
  glColor4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
461 462 463
  LEAVE_GL();
}

464
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
465
 *              glColor4s (OPENGL32.@)
466
 */
467
void WINAPI wine_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ) {
468
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
469
  ENTER_GL();
470
  glColor4s( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
471 472 473
  LEAVE_GL();
}

474
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
475
 *              glColor4sv (OPENGL32.@)
476
 */
477
void WINAPI wine_glColor4sv( GLshort* v ) {
478
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
479
  ENTER_GL();
480
  glColor4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
481 482 483
  LEAVE_GL();
}

484
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
485
 *              glColor4ub (OPENGL32.@)
486
 */
487
void WINAPI wine_glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) {
488
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
489
  ENTER_GL();
490
  glColor4ub( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
491 492 493
  LEAVE_GL();
}

494
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
495
 *              glColor4ubv (OPENGL32.@)
496
 */
497
void WINAPI wine_glColor4ubv( GLubyte* v ) {
498
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
499
  ENTER_GL();
500
  glColor4ubv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
501 502 503
  LEAVE_GL();
}

504
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
505
 *              glColor4ui (OPENGL32.@)
506
 */
507
void WINAPI wine_glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ) {
508
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
509
  ENTER_GL();
510
  glColor4ui( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
511 512 513
  LEAVE_GL();
}

514
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
515
 *              glColor4uiv (OPENGL32.@)
516
 */
517
void WINAPI wine_glColor4uiv( GLuint* v ) {
518
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
519
  ENTER_GL();
520
  glColor4uiv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
521 522 523
  LEAVE_GL();
}

524
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
525
 *              glColor4us (OPENGL32.@)
526
 */
527
void WINAPI wine_glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ) {
528
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
529
  ENTER_GL();
530
  glColor4us( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
531 532 533
  LEAVE_GL();
}

534
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
535
 *              glColor4usv (OPENGL32.@)
536
 */
537
void WINAPI wine_glColor4usv( GLushort* v ) {
538
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
539
  ENTER_GL();
540
  glColor4usv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
541 542 543
  LEAVE_GL();
}

544
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
545
 *              glColorMask (OPENGL32.@)
546
 */
547
void WINAPI wine_glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) {
548
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
549
  ENTER_GL();
550
  glColorMask( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
551 552 553
  LEAVE_GL();
}

554
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
555
 *              glColorMaterial (OPENGL32.@)
556
 */
557
void WINAPI wine_glColorMaterial( GLenum face, GLenum mode ) {
558
  TRACE("(%d, %d)\n", face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
559
  ENTER_GL();
560
  glColorMaterial( face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
561 562 563
  LEAVE_GL();
}

564
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
565
 *              glColorPointer (OPENGL32.@)
566
 */
567
void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
568
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
569
  ENTER_GL();
570
  glColorPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
571 572 573
  LEAVE_GL();
}

574
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
575
 *              glColorSubTable (OPENGL32.@)
576
 */
577
void WINAPI wine_glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid* data ) {
578
  TRACE("(%d, %d, %d, %d, %d, %p)\n", target, start, count, format, type, data );
Lionel Ulmer's avatar
Lionel Ulmer committed
579
  ENTER_GL();
580
  glColorSubTable( target, start, count, format, type, data );
Lionel Ulmer's avatar
Lionel Ulmer committed
581 582 583
  LEAVE_GL();
}

584
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
585
 *              glColorTable (OPENGL32.@)
586
 */
587
void WINAPI wine_glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* table ) {
588
  TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
589
  ENTER_GL();
590
  glColorTable( target, internalformat, width, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
591 592 593
  LEAVE_GL();
}

594
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
595
 *              glColorTableParameterfv (OPENGL32.@)
596
 */
597
void WINAPI wine_glColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
598
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
599
  ENTER_GL();
600
  glColorTableParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
601 602 603
  LEAVE_GL();
}

604
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
605
 *              glColorTableParameteriv (OPENGL32.@)
606
 */
607
void WINAPI wine_glColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) {
608
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
609
  ENTER_GL();
610
  glColorTableParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
611 612 613
  LEAVE_GL();
}

614
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
615
 *              glConvolutionFilter1D (OPENGL32.@)
616
 */
617
void WINAPI wine_glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* image ) {
618
  TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
619
  ENTER_GL();
620
  glConvolutionFilter1D( target, internalformat, width, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
621 622 623
  LEAVE_GL();
}

624
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
625
 *              glConvolutionFilter2D (OPENGL32.@)
626
 */
627
void WINAPI wine_glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* image ) {
628
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, internalformat, width, height, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
629
  ENTER_GL();
630
  glConvolutionFilter2D( target, internalformat, width, height, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
631 632 633
  LEAVE_GL();
}

634
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
635
 *              glConvolutionParameterf (OPENGL32.@)
636
 */
637
void WINAPI wine_glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ) {
638
  TRACE("(%d, %d, %f)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
639
  ENTER_GL();
640
  glConvolutionParameterf( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
641 642 643
  LEAVE_GL();
}

644
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
645
 *              glConvolutionParameterfv (OPENGL32.@)
646
 */
647
void WINAPI wine_glConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
648
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
649
  ENTER_GL();
650
  glConvolutionParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
651 652 653
  LEAVE_GL();
}

654
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
655
 *              glConvolutionParameteri (OPENGL32.@)
656
 */
657
void WINAPI wine_glConvolutionParameteri( GLenum target, GLenum pname, GLint params ) {
658
  TRACE("(%d, %d, %d)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
659
  ENTER_GL();
660
  glConvolutionParameteri( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
661 662 663
  LEAVE_GL();
}

664
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
665
 *              glConvolutionParameteriv (OPENGL32.@)
666
 */
667
void WINAPI wine_glConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) {
668
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
669
  ENTER_GL();
670
  glConvolutionParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
671 672 673
  LEAVE_GL();
}

674
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
675
 *              glCopyColorSubTable (OPENGL32.@)
676
 */
677
void WINAPI wine_glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ) {
678
  TRACE("(%d, %d, %d, %d, %d)\n", target, start, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
679
  ENTER_GL();
680
  glCopyColorSubTable( target, start, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
681 682 683
  LEAVE_GL();
}

684
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
685
 *              glCopyColorTable (OPENGL32.@)
686
 */
687
void WINAPI wine_glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) {
688
  TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
689
  ENTER_GL();
690
  glCopyColorTable( target, internalformat, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
691 692 693
  LEAVE_GL();
}

694
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
695
 *              glCopyConvolutionFilter1D (OPENGL32.@)
696
 */
697
void WINAPI wine_glCopyConvolutionFilter1D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) {
698
  TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
699
  ENTER_GL();
700
  glCopyConvolutionFilter1D( target, internalformat, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
701 702 703
  LEAVE_GL();
}

704
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
705
 *              glCopyConvolutionFilter2D (OPENGL32.@)
706
 */
707
void WINAPI wine_glCopyConvolutionFilter2D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height ) {
708
  TRACE("(%d, %d, %d, %d, %d, %d)\n", target, internalformat, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
709
  ENTER_GL();
710
  glCopyConvolutionFilter2D( target, internalformat, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
711 712 713
  LEAVE_GL();
}

714
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
715
 *              glCopyPixels (OPENGL32.@)
716
 */
717
void WINAPI wine_glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ) {
718
  TRACE("(%d, %d, %d, %d, %d)\n", x, y, width, height, type );
Lionel Ulmer's avatar
Lionel Ulmer committed
719
  ENTER_GL();
720
  glCopyPixels( x, y, width, height, type );
Lionel Ulmer's avatar
Lionel Ulmer committed
721 722 723
  LEAVE_GL();
}

724
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
725
 *              glCopyTexImage1D (OPENGL32.@)
726
 */
727
void WINAPI wine_glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) {
728
  TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
729
  ENTER_GL();
730
  glCopyTexImage1D( target, level, internalformat, x, y, width, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
731 732 733
  LEAVE_GL();
}

734
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
735
 *              glCopyTexImage2D (OPENGL32.@)
736
 */
737
void WINAPI wine_glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) {
738
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, height, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
739
  ENTER_GL();
740
  glCopyTexImage2D( target, level, internalformat, x, y, width, height, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
741 742 743
  LEAVE_GL();
}

744
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
745
 *              glCopyTexSubImage1D (OPENGL32.@)
746
 */
747
void WINAPI wine_glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) {
748
  TRACE("(%d, %d, %d, %d, %d, %d)\n", target, level, xoffset, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
749
  ENTER_GL();
750
  glCopyTexSubImage1D( target, level, xoffset, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
751 752 753
  LEAVE_GL();
}

754
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
755
 *              glCopyTexSubImage2D (OPENGL32.@)
756
 */
757
void WINAPI wine_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
758
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
759
  ENTER_GL();
760
  glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
761 762 763
  LEAVE_GL();
}

764
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
765
 *              glCopyTexSubImage3D (OPENGL32.@)
766
 */
767
void WINAPI wine_glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
768
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d)\n", target, level, xoffset, yoffset, zoffset, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
769
  ENTER_GL();
770
  glCopyTexSubImage3D( target, level, xoffset, yoffset, zoffset, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
771 772 773
  LEAVE_GL();
}

774
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
775
 *              glCullFace (OPENGL32.@)
776
 */
777
void WINAPI wine_glCullFace( GLenum mode ) {
778
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
779
  ENTER_GL();
780
  glCullFace( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
781 782 783
  LEAVE_GL();
}

784
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
785
 *              glDeleteLists (OPENGL32.@)
786
 */
787
void WINAPI wine_glDeleteLists( GLuint list, GLsizei range ) {
788
  TRACE("(%d, %d)\n", list, range );
Lionel Ulmer's avatar
Lionel Ulmer committed
789
  ENTER_GL();
790
  glDeleteLists( list, range );
Lionel Ulmer's avatar
Lionel Ulmer committed
791 792 793
  LEAVE_GL();
}

794
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
795
 *              glDeleteTextures (OPENGL32.@)
796
 */
797
void WINAPI wine_glDeleteTextures( GLsizei n, GLuint* textures ) {
798
  TRACE("(%d, %p)\n", n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
799
  ENTER_GL();
800
  glDeleteTextures( n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
801 802 803
  LEAVE_GL();
}

804
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
805
 *              glDepthFunc (OPENGL32.@)
806
 */
807
void WINAPI wine_glDepthFunc( GLenum func ) {
808
  TRACE("(%d)\n", func );
Lionel Ulmer's avatar
Lionel Ulmer committed
809
  ENTER_GL();
810
  glDepthFunc( func );
Lionel Ulmer's avatar
Lionel Ulmer committed
811 812 813
  LEAVE_GL();
}

814
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
815
 *              glDepthMask (OPENGL32.@)
816
 */
817
void WINAPI wine_glDepthMask( GLboolean flag ) {
818
  TRACE("(%d)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
819
  ENTER_GL();
820
  glDepthMask( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
821 822 823
  LEAVE_GL();
}

824
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
825
 *              glDepthRange (OPENGL32.@)
826
 */
827
void WINAPI wine_glDepthRange( GLclampd near, GLclampd far ) {
828
  TRACE("(%f, %f)\n", near, far );
Lionel Ulmer's avatar
Lionel Ulmer committed
829
  ENTER_GL();
830
  glDepthRange( near, far );
Lionel Ulmer's avatar
Lionel Ulmer committed
831 832 833
  LEAVE_GL();
}

834
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
835
 *              glDisable (OPENGL32.@)
836
 */
837
void WINAPI wine_glDisable( GLenum cap ) {
838
  TRACE("(%d)\n", cap );
Lionel Ulmer's avatar
Lionel Ulmer committed
839
  ENTER_GL();
840
  glDisable( cap );
Lionel Ulmer's avatar
Lionel Ulmer committed
841 842 843
  LEAVE_GL();
}

844
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
845
 *              glDisableClientState (OPENGL32.@)
846
 */
847
void WINAPI wine_glDisableClientState( GLenum array ) {
848
  TRACE("(%d)\n", array );
Lionel Ulmer's avatar
Lionel Ulmer committed
849
  ENTER_GL();
850
  glDisableClientState( array );
Lionel Ulmer's avatar
Lionel Ulmer committed
851 852 853
  LEAVE_GL();
}

854
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
855
 *              glDrawArrays (OPENGL32.@)
856
 */
857
void WINAPI wine_glDrawArrays( GLenum mode, GLint first, GLsizei count ) {
858
  TRACE("(%d, %d, %d)\n", mode, first, count );
Lionel Ulmer's avatar
Lionel Ulmer committed
859
  ENTER_GL();
860
  glDrawArrays( mode, first, count );
Lionel Ulmer's avatar
Lionel Ulmer committed
861 862 863
  LEAVE_GL();
}

864
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
865
 *              glDrawBuffer (OPENGL32.@)
866
 */
867
void WINAPI wine_glDrawBuffer( GLenum mode ) {
868
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
869
  ENTER_GL();
870
  glDrawBuffer( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
871 872 873
  LEAVE_GL();
}

874
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
875
 *              glDrawElements (OPENGL32.@)
876
 */
877
void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, GLvoid* indices ) {
878
  TRACE("(%d, %d, %d, %p)\n", mode, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
879
  ENTER_GL();
880
  glDrawElements( mode, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
881 882 883
  LEAVE_GL();
}

884
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
885
 *              glDrawPixels (OPENGL32.@)
886
 */
887
void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
888
  TRACE("(%d, %d, %d, %d, %p)\n", width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
889
  ENTER_GL();
890
  glDrawPixels( width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
891 892 893
  LEAVE_GL();
}

894
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
895
 *              glDrawRangeElements (OPENGL32.@)
896
 */
897
void WINAPI wine_glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLvoid* indices ) {
898
  TRACE("(%d, %d, %d, %d, %d, %p)\n", mode, start, end, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
899
  ENTER_GL();
900
  glDrawRangeElements( mode, start, end, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
901 902 903
  LEAVE_GL();
}

904
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
905
 *              glEdgeFlag (OPENGL32.@)
906
 */
907
void WINAPI wine_glEdgeFlag( GLboolean flag ) {
908
  TRACE("(%d)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
909
  ENTER_GL();
910
  glEdgeFlag( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
911 912 913
  LEAVE_GL();
}

914
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
915
 *              glEdgeFlagPointer (OPENGL32.@)
916
 */
917
void WINAPI wine_glEdgeFlagPointer( GLsizei stride, GLvoid* pointer ) {
918
  TRACE("(%d, %p)\n", stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
919
  ENTER_GL();
920
  glEdgeFlagPointer( stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
921 922 923
  LEAVE_GL();
}

924
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
925
 *              glEdgeFlagv (OPENGL32.@)
926
 */
927
void WINAPI wine_glEdgeFlagv( GLboolean* flag ) {
928
  TRACE("(%p)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
929
  ENTER_GL();
930
  glEdgeFlagv( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
931 932 933
  LEAVE_GL();
}

934
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
935
 *              glEnable (OPENGL32.@)
936
 */
937
void WINAPI wine_glEnable( GLenum cap ) {
938
  TRACE("(%d)\n", cap );
Lionel Ulmer's avatar
Lionel Ulmer committed
939
  ENTER_GL();
940
  glEnable( cap );
Lionel Ulmer's avatar
Lionel Ulmer committed
941 942 943
  LEAVE_GL();
}

944
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
945
 *              glEnableClientState (OPENGL32.@)
946
 */
947
void WINAPI wine_glEnableClientState( GLenum array ) {
948
  TRACE("(%d)\n", array );
Lionel Ulmer's avatar
Lionel Ulmer committed
949
  ENTER_GL();
950
  glEnableClientState( array );
Lionel Ulmer's avatar
Lionel Ulmer committed
951 952 953
  LEAVE_GL();
}

954
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
955
 *              glEnd (OPENGL32.@)
956
 */
957
void WINAPI wine_glEnd( ) {
958
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
959
  ENTER_GL();
960
  glEnd( );
Lionel Ulmer's avatar
Lionel Ulmer committed
961 962 963
  LEAVE_GL();
}

964
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
965
 *              glEndList (OPENGL32.@)
966
 */
967
void WINAPI wine_glEndList( ) {
968
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
969
  ENTER_GL();
970
  glEndList( );
Lionel Ulmer's avatar
Lionel Ulmer committed
971 972 973
  LEAVE_GL();
}

974
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
975
 *              glEvalCoord1d (OPENGL32.@)
976
 */
977
void WINAPI wine_glEvalCoord1d( GLdouble u ) {
978
  TRACE("(%f)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
979
  ENTER_GL();
980
  glEvalCoord1d( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
981 982 983
  LEAVE_GL();
}

984
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
985
 *              glEvalCoord1dv (OPENGL32.@)
986
 */
987
void WINAPI wine_glEvalCoord1dv( GLdouble* u ) {
988
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
989
  ENTER_GL();
990
  glEvalCoord1dv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
991 992 993
  LEAVE_GL();
}

994
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
995
 *              glEvalCoord1f (OPENGL32.@)
996
 */
997
void WINAPI wine_glEvalCoord1f( GLfloat u ) {
998
  TRACE("(%f)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
999
  ENTER_GL();
1000
  glEvalCoord1f( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1001 1002 1003
  LEAVE_GL();
}

1004
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1005
 *              glEvalCoord1fv (OPENGL32.@)
1006
 */
1007
void WINAPI wine_glEvalCoord1fv( GLfloat* u ) {
1008
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1009
  ENTER_GL();
1010
  glEvalCoord1fv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1011 1012 1013
  LEAVE_GL();
}

1014
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1015
 *              glEvalCoord2d (OPENGL32.@)
1016
 */
1017
void WINAPI wine_glEvalCoord2d( GLdouble u, GLdouble v ) {
1018
  TRACE("(%f, %f)\n", u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1019
  ENTER_GL();
1020
  glEvalCoord2d( u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1021 1022 1023
  LEAVE_GL();
}

1024
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1025
 *              glEvalCoord2dv (OPENGL32.@)
1026
 */
1027
void WINAPI wine_glEvalCoord2dv( GLdouble* u ) {
1028
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1029
  ENTER_GL();
1030
  glEvalCoord2dv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1031 1032 1033
  LEAVE_GL();
}

1034
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1035
 *              glEvalCoord2f (OPENGL32.@)
1036
 */
1037
void WINAPI wine_glEvalCoord2f( GLfloat u, GLfloat v ) {
1038
  TRACE("(%f, %f)\n", u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1039
  ENTER_GL();
1040
  glEvalCoord2f( u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1041 1042 1043
  LEAVE_GL();
}

1044
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1045
 *              glEvalCoord2fv (OPENGL32.@)
1046
 */
1047
void WINAPI wine_glEvalCoord2fv( GLfloat* u ) {
1048
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1049
  ENTER_GL();
1050
  glEvalCoord2fv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1051 1052 1053
  LEAVE_GL();
}

1054
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1055
 *              glEvalMesh1 (OPENGL32.@)
1056
 */
1057
void WINAPI wine_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) {
1058
  TRACE("(%d, %d, %d)\n", mode, i1, i2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1059
  ENTER_GL();
1060
  glEvalMesh1( mode, i1, i2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1061 1062 1063
  LEAVE_GL();
}

1064
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1065
 *              glEvalMesh2 (OPENGL32.@)
1066
 */
1067
void WINAPI wine_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ) {
1068
  TRACE("(%d, %d, %d, %d, %d)\n", mode, i1, i2, j1, j2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1069
  ENTER_GL();
1070
  glEvalMesh2( mode, i1, i2, j1, j2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1071 1072 1073
  LEAVE_GL();
}

1074
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1075
 *              glEvalPoint1 (OPENGL32.@)
1076
 */
1077
void WINAPI wine_glEvalPoint1( GLint i ) {
1078
  TRACE("(%d)\n", i );
Lionel Ulmer's avatar
Lionel Ulmer committed
1079
  ENTER_GL();
1080
  glEvalPoint1( i );
Lionel Ulmer's avatar
Lionel Ulmer committed
1081 1082 1083
  LEAVE_GL();
}

1084
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1085
 *              glEvalPoint2 (OPENGL32.@)
1086
 */
1087
void WINAPI wine_glEvalPoint2( GLint i, GLint j ) {
1088
  TRACE("(%d, %d)\n", i, j );
Lionel Ulmer's avatar
Lionel Ulmer committed
1089
  ENTER_GL();
1090
  glEvalPoint2( i, j );
Lionel Ulmer's avatar
Lionel Ulmer committed
1091 1092 1093
  LEAVE_GL();
}

1094
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1095
 *              glFeedbackBuffer (OPENGL32.@)
1096
 */
1097
void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) {
1098
  TRACE("(%d, %d, %p)\n", size, type, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1099
  ENTER_GL();
1100
  glFeedbackBuffer( size, type, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1101 1102 1103
  LEAVE_GL();
}

1104
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1105
 *              glFinish (OPENGL32.@)
1106
 */
1107
void WINAPI wine_glFinish( ) {
1108
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1109
  ENTER_GL();
1110
  glFinish( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1111 1112 1113
  LEAVE_GL();
}

1114
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1115
 *              glFlush (OPENGL32.@)
1116
 */
1117
void WINAPI wine_glFlush( ) {
1118
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1119
  ENTER_GL();
1120
  glFlush( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1121 1122 1123
  LEAVE_GL();
}

1124
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1125
 *              glFogf (OPENGL32.@)
1126
 */
1127
void WINAPI wine_glFogf( GLenum pname, GLfloat param ) {
1128
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1129
  ENTER_GL();
1130
  glFogf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1131 1132 1133
  LEAVE_GL();
}

1134
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1135
 *              glFogfv (OPENGL32.@)
1136
 */
1137
void WINAPI wine_glFogfv( GLenum pname, GLfloat* params ) {
1138
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1139
  ENTER_GL();
1140
  glFogfv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1141 1142 1143
  LEAVE_GL();
}

1144
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1145
 *              glFogi (OPENGL32.@)
1146
 */
1147
void WINAPI wine_glFogi( GLenum pname, GLint param ) {
1148
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1149
  ENTER_GL();
1150
  glFogi( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1151 1152 1153
  LEAVE_GL();
}

1154
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1155
 *              glFogiv (OPENGL32.@)
1156
 */
1157
void WINAPI wine_glFogiv( GLenum pname, GLint* params ) {
1158
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1159
  ENTER_GL();
1160
  glFogiv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1161 1162 1163
  LEAVE_GL();
}

1164
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1165
 *              glFrontFace (OPENGL32.@)
1166
 */
1167
void WINAPI wine_glFrontFace( GLenum mode ) {
1168
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1169
  ENTER_GL();
1170
  glFrontFace( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1171 1172 1173
  LEAVE_GL();
}

1174
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1175
 *              glFrustum (OPENGL32.@)
1176
 */
1177
void WINAPI wine_glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
1178
  TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
1179
  ENTER_GL();
1180
  glFrustum( left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
1181 1182 1183
  LEAVE_GL();
}

1184
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1185
 *              glGenLists (OPENGL32.@)
1186
 */
1187 1188
GLuint WINAPI wine_glGenLists( GLsizei range ) {
  GLuint ret_value;
1189
  TRACE("(%d)\n", range );
Lionel Ulmer's avatar
Lionel Ulmer committed
1190
  ENTER_GL();
1191
  ret_value = glGenLists( range );
Lionel Ulmer's avatar
Lionel Ulmer committed
1192
  LEAVE_GL();
1193
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1194 1195
}

1196
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1197
 *              glGenTextures (OPENGL32.@)
1198
 */
1199
void WINAPI wine_glGenTextures( GLsizei n, GLuint* textures ) {
1200
  TRACE("(%d, %p)\n", n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
1201
  ENTER_GL();
1202
  glGenTextures( n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
1203 1204 1205
  LEAVE_GL();
}

1206
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1207
 *              glGetBooleanv (OPENGL32.@)
1208
 */
1209
void WINAPI wine_glGetBooleanv( GLenum pname, GLboolean* params ) {
1210
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1211
  ENTER_GL();
1212
  glGetBooleanv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1213 1214 1215
  LEAVE_GL();
}

1216
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1217
 *              glGetClipPlane (OPENGL32.@)
1218
 */
1219
void WINAPI wine_glGetClipPlane( GLenum plane, GLdouble* equation ) {
1220
  TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
1221
  ENTER_GL();
1222
  glGetClipPlane( plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
1223 1224 1225
  LEAVE_GL();
}

1226
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1227
 *              glGetColorTable (OPENGL32.@)
1228
 */
1229
void WINAPI wine_glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid* table ) {
1230
  TRACE("(%d, %d, %d, %p)\n", target, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
1231
  ENTER_GL();
1232
  glGetColorTable( target, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
1233 1234 1235
  LEAVE_GL();
}

1236
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1237
 *              glGetColorTableParameterfv (OPENGL32.@)
1238
 */
1239
void WINAPI wine_glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1240
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1241
  ENTER_GL();
1242
  glGetColorTableParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1243 1244 1245
  LEAVE_GL();
}

1246
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1247
 *              glGetColorTableParameteriv (OPENGL32.@)
1248
 */
1249
void WINAPI wine_glGetColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) {
1250
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1251
  ENTER_GL();
1252
  glGetColorTableParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1253 1254 1255
  LEAVE_GL();
}

1256
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1257
 *              glGetConvolutionFilter (OPENGL32.@)
1258
 */
1259
void WINAPI wine_glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid* image ) {
1260
  TRACE("(%d, %d, %d, %p)\n", target, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
1261
  ENTER_GL();
1262
  glGetConvolutionFilter( target, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
1263 1264 1265
  LEAVE_GL();
}

1266
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1267
 *              glGetConvolutionParameterfv (OPENGL32.@)
1268
 */
1269
void WINAPI wine_glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1270
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1271
  ENTER_GL();
1272
  glGetConvolutionParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1273 1274 1275
  LEAVE_GL();
}

1276
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1277
 *              glGetConvolutionParameteriv (OPENGL32.@)
1278
 */
1279
void WINAPI wine_glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint* params ) {
1280
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1281
  ENTER_GL();
1282
  glGetConvolutionParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1283 1284 1285
  LEAVE_GL();
}

1286
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1287
 *              glGetDoublev (OPENGL32.@)
1288
 */
1289
void WINAPI wine_glGetDoublev( GLenum pname, GLdouble* params ) {
1290
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1291
  ENTER_GL();
1292
  glGetDoublev( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1293 1294 1295
  LEAVE_GL();
}

1296
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1297
 *              glGetError (OPENGL32.@)
1298
 */
1299 1300
GLenum WINAPI wine_glGetError( ) {
  GLenum ret_value;
1301
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1302
  ENTER_GL();
1303
  ret_value = glGetError( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1304
  LEAVE_GL();
1305
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1306 1307
}

1308
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1309
 *              glGetFloatv (OPENGL32.@)
1310
 */
1311
void WINAPI wine_glGetFloatv( GLenum pname, GLfloat* params ) {
1312
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1313
  ENTER_GL();
1314
  glGetFloatv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1315 1316 1317
  LEAVE_GL();
}

1318
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1319
 *              glGetHistogram (OPENGL32.@)
1320
 */
1321
void WINAPI wine_glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
1322
  TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1323
  ENTER_GL();
1324
  glGetHistogram( target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1325 1326 1327
  LEAVE_GL();
}

1328
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1329
 *              glGetHistogramParameterfv (OPENGL32.@)
1330
 */
1331
void WINAPI wine_glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1332
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1333
  ENTER_GL();
1334
  glGetHistogramParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1335 1336 1337
  LEAVE_GL();
}

1338
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1339
 *              glGetHistogramParameteriv (OPENGL32.@)
1340
 */
1341
void WINAPI wine_glGetHistogramParameteriv( GLenum target, GLenum pname, GLint* params ) {
1342
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1343
  ENTER_GL();
1344
  glGetHistogramParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1345 1346 1347
  LEAVE_GL();
}

1348
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1349
 *              glGetIntegerv (OPENGL32.@)
1350
 */
1351
void WINAPI wine_glGetIntegerv( GLenum pname, GLint* params ) {
1352
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1353
  ENTER_GL();
1354
  glGetIntegerv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1355 1356 1357
  LEAVE_GL();
}

1358
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1359
 *              glGetLightfv (OPENGL32.@)
1360
 */
1361
void WINAPI wine_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) {
1362
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1363
  ENTER_GL();
1364
  glGetLightfv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1365 1366 1367
  LEAVE_GL();
}

1368
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1369
 *              glGetLightiv (OPENGL32.@)
1370
 */
1371
void WINAPI wine_glGetLightiv( GLenum light, GLenum pname, GLint* params ) {
1372
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1373
  ENTER_GL();
1374
  glGetLightiv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1375 1376 1377
  LEAVE_GL();
}

1378
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1379
 *              glGetMapdv (OPENGL32.@)
1380
 */
1381
void WINAPI wine_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) {
1382
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1383
  ENTER_GL();
1384
  glGetMapdv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1385 1386 1387
  LEAVE_GL();
}

1388
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1389
 *              glGetMapfv (OPENGL32.@)
1390
 */
1391
void WINAPI wine_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) {
1392
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1393
  ENTER_GL();
1394
  glGetMapfv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1395 1396 1397
  LEAVE_GL();
}

1398
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1399
 *              glGetMapiv (OPENGL32.@)
1400
 */
1401
void WINAPI wine_glGetMapiv( GLenum target, GLenum query, GLint* v ) {
1402
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1403
  ENTER_GL();
1404
  glGetMapiv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1405 1406 1407
  LEAVE_GL();
}

1408
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1409
 *              glGetMaterialfv (OPENGL32.@)
1410
 */
1411
void WINAPI wine_glGetMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
1412
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1413
  ENTER_GL();
1414
  glGetMaterialfv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1415 1416 1417
  LEAVE_GL();
}

1418
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1419
 *              glGetMaterialiv (OPENGL32.@)
1420
 */
1421
void WINAPI wine_glGetMaterialiv( GLenum face, GLenum pname, GLint* params ) {
1422
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1423
  ENTER_GL();
1424
  glGetMaterialiv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1425 1426 1427
  LEAVE_GL();
}

1428
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1429
 *              glGetMinmax (OPENGL32.@)
1430
 */
1431
void WINAPI wine_glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
1432
  TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1433
  ENTER_GL();
1434
  glGetMinmax( target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1435 1436 1437
  LEAVE_GL();
}

1438
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1439
 *              glGetMinmaxParameterfv (OPENGL32.@)
1440
 */
1441
void WINAPI wine_glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1442
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1443
  ENTER_GL();
1444
  glGetMinmaxParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1445 1446 1447
  LEAVE_GL();
}

1448
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1449
 *              glGetMinmaxParameteriv (OPENGL32.@)
1450
 */
1451
void WINAPI wine_glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint* params ) {
1452
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1453
  ENTER_GL();
1454
  glGetMinmaxParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1455 1456 1457
  LEAVE_GL();
}

1458
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1459
 *              glGetPixelMapfv (OPENGL32.@)
1460
 */
1461
void WINAPI wine_glGetPixelMapfv( GLenum map, GLfloat* values ) {
1462
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1463
  ENTER_GL();
1464
  glGetPixelMapfv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1465 1466 1467
  LEAVE_GL();
}

1468
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1469
 *              glGetPixelMapuiv (OPENGL32.@)
1470
 */
1471
void WINAPI wine_glGetPixelMapuiv( GLenum map, GLuint* values ) {
1472
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1473
  ENTER_GL();
1474
  glGetPixelMapuiv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1475 1476 1477
  LEAVE_GL();
}

1478
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1479
 *              glGetPixelMapusv (OPENGL32.@)
1480
 */
1481
void WINAPI wine_glGetPixelMapusv( GLenum map, GLushort* values ) {
1482
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1483
  ENTER_GL();
1484
  glGetPixelMapusv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1485 1486 1487
  LEAVE_GL();
}

1488
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1489
 *              glGetPointerv (OPENGL32.@)
1490
 */
1491
void WINAPI wine_glGetPointerv( GLenum pname, GLvoid** params ) {
1492
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1493
  ENTER_GL();
1494
  glGetPointerv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1495 1496 1497
  LEAVE_GL();
}

1498
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1499
 *              glGetPolygonStipple (OPENGL32.@)
1500
 */
1501
void WINAPI wine_glGetPolygonStipple( GLubyte* mask ) {
1502
  TRACE("(%p)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1503
  ENTER_GL();
1504
  glGetPolygonStipple( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1505 1506 1507
  LEAVE_GL();
}

1508
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1509
 *              glGetSeparableFilter (OPENGL32.@)
1510
 */
1511
void WINAPI wine_glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span ) {
1512
  TRACE("(%d, %d, %d, %p, %p, %p)\n", target, format, type, row, column, span );
Lionel Ulmer's avatar
Lionel Ulmer committed
1513
  ENTER_GL();
1514
  glGetSeparableFilter( target, format, type, row, column, span );
Lionel Ulmer's avatar
Lionel Ulmer committed
1515 1516 1517
  LEAVE_GL();
}

1518
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1519
 *              glGetString (OPENGL32.@)
1520
 */
1521 1522
GLstring WINAPI wine_glGetString( GLenum name ) {
  GLstring ret_value;
1523
  TRACE("(%d)\n", name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1524
  ENTER_GL();
1525
  ret_value = glGetString( name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1526
  LEAVE_GL();
1527
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1528 1529
}

1530
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1531
 *              glGetTexEnvfv (OPENGL32.@)
1532
 */
1533
void WINAPI wine_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
1534
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1535
  ENTER_GL();
1536
  glGetTexEnvfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1537 1538 1539
  LEAVE_GL();
}

1540
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1541
 *              glGetTexEnviv (OPENGL32.@)
1542
 */
1543
void WINAPI wine_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) {
1544
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1545
  ENTER_GL();
1546
  glGetTexEnviv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1547 1548 1549
  LEAVE_GL();
}

1550
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1551
 *              glGetTexGendv (OPENGL32.@)
1552
 */
1553
void WINAPI wine_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
1554
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1555
  ENTER_GL();
1556
  glGetTexGendv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1557 1558 1559
  LEAVE_GL();
}

1560
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1561
 *              glGetTexGenfv (OPENGL32.@)
1562
 */
1563
void WINAPI wine_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
1564
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1565
  ENTER_GL();
1566
  glGetTexGenfv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1567 1568 1569
  LEAVE_GL();
}

1570
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1571
 *              glGetTexGeniv (OPENGL32.@)
1572
 */
1573
void WINAPI wine_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
1574
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1575
  ENTER_GL();
1576
  glGetTexGeniv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1577 1578 1579
  LEAVE_GL();
}

1580
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1581
 *              glGetTexImage (OPENGL32.@)
1582
 */
1583
void WINAPI wine_glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) {
1584
  TRACE("(%d, %d, %d, %d, %p)\n", target, level, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
1585
  ENTER_GL();
1586
  glGetTexImage( target, level, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
1587 1588 1589
  LEAVE_GL();
}

1590
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1591
 *              glGetTexLevelParameterfv (OPENGL32.@)
1592
 */
1593
void WINAPI wine_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat* params ) {
1594
  TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1595
  ENTER_GL();
1596
  glGetTexLevelParameterfv( target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1597 1598 1599
  LEAVE_GL();
}

1600
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1601
 *              glGetTexLevelParameteriv (OPENGL32.@)
1602
 */
1603
void WINAPI wine_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint* params ) {
1604
  TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1605
  ENTER_GL();
1606
  glGetTexLevelParameteriv( target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1607 1608 1609
  LEAVE_GL();
}

1610
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1611
 *              glGetTexParameterfv (OPENGL32.@)
1612
 */
1613
void WINAPI wine_glGetTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1614
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1615
  ENTER_GL();
1616
  glGetTexParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1617 1618 1619
  LEAVE_GL();
}

1620
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1621
 *              glGetTexParameteriv (OPENGL32.@)
1622
 */
1623
void WINAPI wine_glGetTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
1624
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1625
  ENTER_GL();
1626
  glGetTexParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1627 1628 1629
  LEAVE_GL();
}

1630
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1631
 *              glHint (OPENGL32.@)
1632
 */
1633
void WINAPI wine_glHint( GLenum target, GLenum mode ) {
1634
  TRACE("(%d, %d)\n", target, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1635
  ENTER_GL();
1636
  glHint( target, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1637 1638 1639
  LEAVE_GL();
}

1640
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1641
 *              glHistogram (OPENGL32.@)
1642
 */
1643
void WINAPI wine_glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ) {
1644
  TRACE("(%d, %d, %d, %d)\n", target, width, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
1645
  ENTER_GL();
1646
  glHistogram( target, width, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
1647 1648 1649
  LEAVE_GL();
}

1650
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1651
 *              glIndexMask (OPENGL32.@)
1652
 */
1653
void WINAPI wine_glIndexMask( GLuint mask ) {
1654
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1655
  ENTER_GL();
1656
  glIndexMask( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1657 1658 1659
  LEAVE_GL();
}

1660
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1661
 *              glIndexPointer (OPENGL32.@)
1662
 */
1663
void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
1664
  TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1665
  ENTER_GL();
1666
  glIndexPointer( type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1667 1668 1669
  LEAVE_GL();
}

1670
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1671
 *              glIndexd (OPENGL32.@)
1672
 */
1673
void WINAPI wine_glIndexd( GLdouble c ) {
1674
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1675
  ENTER_GL();
1676
  glIndexd( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1677 1678 1679
  LEAVE_GL();
}

1680
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1681
 *              glIndexdv (OPENGL32.@)
1682
 */
1683
void WINAPI wine_glIndexdv( GLdouble* c ) {
1684
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1685
  ENTER_GL();
1686
  glIndexdv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1687 1688 1689
  LEAVE_GL();
}

1690
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1691
 *              glIndexf (OPENGL32.@)
1692
 */
1693
void WINAPI wine_glIndexf( GLfloat c ) {
1694
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1695
  ENTER_GL();
1696
  glIndexf( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1697 1698 1699
  LEAVE_GL();
}

1700
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1701
 *              glIndexfv (OPENGL32.@)
1702
 */
1703
void WINAPI wine_glIndexfv( GLfloat* c ) {
1704
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1705
  ENTER_GL();
1706
  glIndexfv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1707 1708 1709
  LEAVE_GL();
}

1710
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1711
 *              glIndexi (OPENGL32.@)
1712
 */
1713
void WINAPI wine_glIndexi( GLint c ) {
1714
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1715
  ENTER_GL();
1716
  glIndexi( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1717 1718 1719
  LEAVE_GL();
}

1720
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1721
 *              glIndexiv (OPENGL32.@)
1722
 */
1723
void WINAPI wine_glIndexiv( GLint* c ) {
1724
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1725
  ENTER_GL();
1726
  glIndexiv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1727 1728 1729
  LEAVE_GL();
}

1730
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1731
 *              glIndexs (OPENGL32.@)
1732
 */
1733
void WINAPI wine_glIndexs( GLshort c ) {
1734
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1735
  ENTER_GL();
1736
  glIndexs( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1737 1738 1739
  LEAVE_GL();
}

1740
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1741
 *              glIndexsv (OPENGL32.@)
1742
 */
1743
void WINAPI wine_glIndexsv( GLshort* c ) {
1744
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1745
  ENTER_GL();
1746
  glIndexsv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1747 1748 1749
  LEAVE_GL();
}

1750
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1751
 *              glIndexub (OPENGL32.@)
1752
 */
1753
void WINAPI wine_glIndexub( GLubyte c ) {
1754
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1755
  ENTER_GL();
1756
  glIndexub( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1757 1758 1759
  LEAVE_GL();
}

1760
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1761
 *              glIndexubv (OPENGL32.@)
1762
 */
1763
void WINAPI wine_glIndexubv( GLubyte* c ) {
1764
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1765
  ENTER_GL();
1766
  glIndexubv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1767 1768 1769
  LEAVE_GL();
}

1770
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1771
 *              glInitNames (OPENGL32.@)
1772
 */
1773
void WINAPI wine_glInitNames( ) {
1774
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1775
  ENTER_GL();
1776
  glInitNames( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1777 1778 1779
  LEAVE_GL();
}

1780
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1781
 *              glInterleavedArrays (OPENGL32.@)
1782
 */
1783
void WINAPI wine_glInterleavedArrays( GLenum format, GLsizei stride, GLvoid* pointer ) {
1784
  TRACE("(%d, %d, %p)\n", format, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1785
  ENTER_GL();
1786
  glInterleavedArrays( format, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1787 1788 1789
  LEAVE_GL();
}

1790
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1791
 *              glIsEnabled (OPENGL32.@)
1792
 */
1793 1794
GLboolean WINAPI wine_glIsEnabled( GLenum cap ) {
  GLboolean ret_value;
1795
  TRACE("(%d)\n", cap );
Lionel Ulmer's avatar
Lionel Ulmer committed
1796
  ENTER_GL();
1797
  ret_value = glIsEnabled( cap );
Lionel Ulmer's avatar
Lionel Ulmer committed
1798
  LEAVE_GL();
1799
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1800 1801
}

1802
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1803
 *              glIsList (OPENGL32.@)
1804
 */
1805 1806
GLboolean WINAPI wine_glIsList( GLuint list ) {
  GLboolean ret_value;
1807
  TRACE("(%d)\n", list );
Lionel Ulmer's avatar
Lionel Ulmer committed
1808
  ENTER_GL();
1809
  ret_value = glIsList( list );
Lionel Ulmer's avatar
Lionel Ulmer committed
1810
  LEAVE_GL();
1811
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1812 1813
}

1814
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1815
 *              glIsTexture (OPENGL32.@)
1816
 */
1817 1818
GLboolean WINAPI wine_glIsTexture( GLuint texture ) {
  GLboolean ret_value;
1819
  TRACE("(%d)\n", texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
1820
  ENTER_GL();
1821
  ret_value = glIsTexture( texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
1822
  LEAVE_GL();
1823
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1824 1825
}

1826
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1827
 *              glLightModelf (OPENGL32.@)
1828
 */
1829
void WINAPI wine_glLightModelf( GLenum pname, GLfloat param ) {
1830
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1831
  ENTER_GL();
1832
  glLightModelf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1833 1834 1835
  LEAVE_GL();
}

1836
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1837
 *              glLightModelfv (OPENGL32.@)
1838
 */
1839
void WINAPI wine_glLightModelfv( GLenum pname, GLfloat* params ) {
1840
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1841
  ENTER_GL();
1842
  glLightModelfv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1843 1844 1845
  LEAVE_GL();
}

1846
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1847
 *              glLightModeli (OPENGL32.@)
1848
 */
1849
void WINAPI wine_glLightModeli( GLenum pname, GLint param ) {
1850
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1851
  ENTER_GL();
1852
  glLightModeli( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1853 1854 1855
  LEAVE_GL();
}

1856
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1857
 *              glLightModeliv (OPENGL32.@)
1858
 */
1859
void WINAPI wine_glLightModeliv( GLenum pname, GLint* params ) {
1860
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1861
  ENTER_GL();
1862
  glLightModeliv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1863 1864 1865
  LEAVE_GL();
}

1866
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1867
 *              glLightf (OPENGL32.@)
1868
 */
1869
void WINAPI wine_glLightf( GLenum light, GLenum pname, GLfloat param ) {
1870
  TRACE("(%d, %d, %f)\n", light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1871
  ENTER_GL();
1872
  glLightf( light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1873 1874 1875
  LEAVE_GL();
}

1876
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1877
 *              glLightfv (OPENGL32.@)
1878
 */
1879
void WINAPI wine_glLightfv( GLenum light, GLenum pname, GLfloat* params ) {
1880
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1881
  ENTER_GL();
1882
  glLightfv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1883 1884 1885
  LEAVE_GL();
}

1886
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1887
 *              glLighti (OPENGL32.@)
1888
 */
1889
void WINAPI wine_glLighti( GLenum light, GLenum pname, GLint param ) {
1890
  TRACE("(%d, %d, %d)\n", light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1891
  ENTER_GL();
1892
  glLighti( light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1893 1894 1895
  LEAVE_GL();
}

1896
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1897
 *              glLightiv (OPENGL32.@)
1898
 */
1899
void WINAPI wine_glLightiv( GLenum light, GLenum pname, GLint* params ) {
1900
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1901
  ENTER_GL();
1902
  glLightiv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1903 1904 1905
  LEAVE_GL();
}

1906
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1907
 *              glLineStipple (OPENGL32.@)
1908
 */
1909
void WINAPI wine_glLineStipple( GLint factor, GLushort pattern ) {
1910
  TRACE("(%d, %d)\n", factor, pattern );
Lionel Ulmer's avatar
Lionel Ulmer committed
1911
  ENTER_GL();
1912
  glLineStipple( factor, pattern );
Lionel Ulmer's avatar
Lionel Ulmer committed
1913 1914 1915
  LEAVE_GL();
}

1916
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1917
 *              glLineWidth (OPENGL32.@)
1918
 */
1919
void WINAPI wine_glLineWidth( GLfloat width ) {
1920
  TRACE("(%f)\n", width );
Lionel Ulmer's avatar
Lionel Ulmer committed
1921
  ENTER_GL();
1922
  glLineWidth( width );
Lionel Ulmer's avatar
Lionel Ulmer committed
1923 1924 1925
  LEAVE_GL();
}

1926
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1927
 *              glListBase (OPENGL32.@)
1928
 */
1929
void WINAPI wine_glListBase( GLuint base ) {
1930
  TRACE("(%d)\n", base );
Lionel Ulmer's avatar
Lionel Ulmer committed
1931
  ENTER_GL();
1932
  glListBase( base );
Lionel Ulmer's avatar
Lionel Ulmer committed
1933 1934 1935
  LEAVE_GL();
}

1936
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1937
 *              glLoadIdentity (OPENGL32.@)
1938
 */
1939
void WINAPI wine_glLoadIdentity( ) {
1940
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1941
  ENTER_GL();
1942
  glLoadIdentity( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1943 1944 1945
  LEAVE_GL();
}

1946
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1947
 *              glLoadMatrixd (OPENGL32.@)
1948
 */
1949
void WINAPI wine_glLoadMatrixd( GLdouble* m ) {
1950
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1951
  ENTER_GL();
1952
  glLoadMatrixd( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1953 1954 1955
  LEAVE_GL();
}

1956
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1957
 *              glLoadMatrixf (OPENGL32.@)
1958
 */
1959
void WINAPI wine_glLoadMatrixf( GLfloat* m ) {
1960
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1961
  ENTER_GL();
1962
  glLoadMatrixf( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1963 1964 1965
  LEAVE_GL();
}

1966
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1967
 *              glLoadName (OPENGL32.@)
1968
 */
1969
void WINAPI wine_glLoadName( GLuint name ) {
1970
  TRACE("(%d)\n", name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1971
  ENTER_GL();
1972
  glLoadName( name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1973 1974 1975
  LEAVE_GL();
}

1976
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1977
 *              glLogicOp (OPENGL32.@)
1978
 */
1979
void WINAPI wine_glLogicOp( GLenum opcode ) {
1980
  TRACE("(%d)\n", opcode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1981
  ENTER_GL();
1982
  glLogicOp( opcode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1983 1984 1985
  LEAVE_GL();
}

1986
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1987
 *              glMap1d (OPENGL32.@)
1988
 */
1989
void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points ) {
1990
  TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1991
  ENTER_GL();
1992
  glMap1d( target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1993 1994 1995
  LEAVE_GL();
}

1996
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1997
 *              glMap1f (OPENGL32.@)
1998
 */
1999
void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points ) {
2000
  TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
2001
  ENTER_GL();
2002
  glMap1f( target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
2003 2004 2005
  LEAVE_GL();
}

2006
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2007
 *              glMap2d (OPENGL32.@)
2008
 */
2009
void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points ) {
2010
  TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
2011
  ENTER_GL();
2012
  glMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
2013 2014 2015
  LEAVE_GL();
}

2016
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2017
 *              glMap2f (OPENGL32.@)
2018
 */
2019
void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points ) {
2020
  TRACE("(%d, %f, %f, %d, %d, %f, %f, %d, %d, %p)\n", target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
2021
  ENTER_GL();
2022
  glMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
2023 2024 2025
  LEAVE_GL();
}

2026
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2027
 *              glMapGrid1d (OPENGL32.@)
2028
 */
2029
void WINAPI wine_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) {
2030
  TRACE("(%d, %f, %f)\n", un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2031
  ENTER_GL();
2032
  glMapGrid1d( un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2033 2034 2035
  LEAVE_GL();
}

2036
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2037
 *              glMapGrid1f (OPENGL32.@)
2038
 */
2039
void WINAPI wine_glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) {
2040
  TRACE("(%d, %f, %f)\n", un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2041
  ENTER_GL();
2042
  glMapGrid1f( un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2043 2044 2045
  LEAVE_GL();
}

2046
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2047
 *              glMapGrid2d (OPENGL32.@)
2048
 */
2049
void WINAPI wine_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) {
2050
  TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2051
  ENTER_GL();
2052
  glMapGrid2d( un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2053 2054 2055
  LEAVE_GL();
}

2056
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2057
 *              glMapGrid2f (OPENGL32.@)
2058
 */
2059
void WINAPI wine_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) {
2060
  TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2061
  ENTER_GL();
2062
  glMapGrid2f( un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2063 2064 2065
  LEAVE_GL();
}

2066
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2067
 *              glMaterialf (OPENGL32.@)
2068
 */
2069
void WINAPI wine_glMaterialf( GLenum face, GLenum pname, GLfloat param ) {
2070
  TRACE("(%d, %d, %f)\n", face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2071
  ENTER_GL();
2072
  glMaterialf( face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2073 2074 2075
  LEAVE_GL();
}

2076
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2077
 *              glMaterialfv (OPENGL32.@)
2078
 */
2079
void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
2080
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2081
  ENTER_GL();
2082
  glMaterialfv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2083 2084 2085
  LEAVE_GL();
}

2086
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2087
 *              glMateriali (OPENGL32.@)
2088
 */
2089
void WINAPI wine_glMateriali( GLenum face, GLenum pname, GLint param ) {
2090
  TRACE("(%d, %d, %d)\n", face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2091
  ENTER_GL();
2092
  glMateriali( face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2093 2094 2095
  LEAVE_GL();
}

2096
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2097
 *              glMaterialiv (OPENGL32.@)
2098
 */
2099
void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, GLint* params ) {
2100
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2101
  ENTER_GL();
2102
  glMaterialiv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2103 2104 2105
  LEAVE_GL();
}

2106
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2107
 *              glMatrixMode (OPENGL32.@)
2108
 */
2109
void WINAPI wine_glMatrixMode( GLenum mode ) {
2110
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2111
  ENTER_GL();
2112
  glMatrixMode( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2113 2114 2115
  LEAVE_GL();
}

2116
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2117
 *              glMinmax (OPENGL32.@)
2118
 */
2119
void WINAPI wine_glMinmax( GLenum target, GLenum internalformat, GLboolean sink ) {
2120
  TRACE("(%d, %d, %d)\n", target, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
2121
  ENTER_GL();
2122
  glMinmax( target, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
2123 2124 2125
  LEAVE_GL();
}

2126
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2127
 *              glMultMatrixd (OPENGL32.@)
2128
 */
2129
void WINAPI wine_glMultMatrixd( GLdouble* m ) {
2130
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2131
  ENTER_GL();
2132
  glMultMatrixd( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2133 2134 2135
  LEAVE_GL();
}

2136
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2137
 *              glMultMatrixf (OPENGL32.@)
2138
 */
2139
void WINAPI wine_glMultMatrixf( GLfloat* m ) {
2140
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2141
  ENTER_GL();
2142
  glMultMatrixf( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2143 2144 2145
  LEAVE_GL();
}

2146
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2147
 *              glMultiTexCoord1dARB (OPENGL32.@)
2148
 */
2149
void WINAPI wine_glMultiTexCoord1dARB( GLenum target, GLdouble s ) {
2150
  TRACE("(%d, %f)\n", target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2151
  ENTER_GL();
2152
  glMultiTexCoord1dARB( target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2153 2154 2155
  LEAVE_GL();
}

2156
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2157
 *              glMultiTexCoord1dvARB (OPENGL32.@)
2158
 */
2159
void WINAPI wine_glMultiTexCoord1dvARB( GLenum target, GLdouble* v ) {
2160
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2161
  ENTER_GL();
2162
  glMultiTexCoord1dvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2163 2164 2165
  LEAVE_GL();
}

2166
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2167
 *              glMultiTexCoord1fARB (OPENGL32.@)
2168
 */
2169
void WINAPI wine_glMultiTexCoord1fARB( GLenum target, GLfloat s ) {
2170
  TRACE("(%d, %f)\n", target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2171
  ENTER_GL();
2172
  glMultiTexCoord1fARB( target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2173 2174 2175
  LEAVE_GL();
}

2176
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2177
 *              glMultiTexCoord1fvARB (OPENGL32.@)
2178
 */
2179
void WINAPI wine_glMultiTexCoord1fvARB( GLenum target, GLfloat* v ) {
2180
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2181
  ENTER_GL();
2182
  glMultiTexCoord1fvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2183 2184 2185
  LEAVE_GL();
}

2186
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2187
 *              glMultiTexCoord1iARB (OPENGL32.@)
2188
 */
2189
void WINAPI wine_glMultiTexCoord1iARB( GLenum target, GLint s ) {
2190
  TRACE("(%d, %d)\n", target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2191
  ENTER_GL();
2192
  glMultiTexCoord1iARB( target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2193 2194 2195
  LEAVE_GL();
}

2196
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2197
 *              glMultiTexCoord1ivARB (OPENGL32.@)
2198
 */
2199
void WINAPI wine_glMultiTexCoord1ivARB( GLenum target, GLint* v ) {
2200
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2201
  ENTER_GL();
2202
  glMultiTexCoord1ivARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2203 2204 2205
  LEAVE_GL();
}

2206
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2207
 *              glMultiTexCoord1sARB (OPENGL32.@)
2208
 */
2209
void WINAPI wine_glMultiTexCoord1sARB( GLenum target, GLshort s ) {
2210
  TRACE("(%d, %d)\n", target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2211
  ENTER_GL();
2212
  glMultiTexCoord1sARB( target, s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2213 2214 2215
  LEAVE_GL();
}

2216
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2217
 *              glMultiTexCoord1svARB (OPENGL32.@)
2218
 */
2219
void WINAPI wine_glMultiTexCoord1svARB( GLenum target, GLshort* v ) {
2220
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2221
  ENTER_GL();
2222
  glMultiTexCoord1svARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2223 2224 2225
  LEAVE_GL();
}

2226
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2227
 *              glMultiTexCoord2dARB (OPENGL32.@)
2228
 */
2229
void WINAPI wine_glMultiTexCoord2dARB( GLenum target, GLdouble s, GLdouble t ) {
2230
  TRACE("(%d, %f, %f)\n", target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2231
  ENTER_GL();
2232
  glMultiTexCoord2dARB( target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2233 2234 2235
  LEAVE_GL();
}

2236
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2237
 *              glMultiTexCoord2dvARB (OPENGL32.@)
2238
 */
2239
void WINAPI wine_glMultiTexCoord2dvARB( GLenum target, GLdouble* v ) {
2240
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2241
  ENTER_GL();
2242
  glMultiTexCoord2dvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2243 2244 2245
  LEAVE_GL();
}

2246
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2247
 *              glMultiTexCoord2fARB (OPENGL32.@)
2248
 */
2249
void WINAPI wine_glMultiTexCoord2fARB( GLenum target, GLfloat s, GLfloat t ) {
2250
  TRACE("(%d, %f, %f)\n", target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2251
  ENTER_GL();
2252
  glMultiTexCoord2fARB( target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2253 2254 2255
  LEAVE_GL();
}

2256
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2257
 *              glMultiTexCoord2fvARB (OPENGL32.@)
2258
 */
2259
void WINAPI wine_glMultiTexCoord2fvARB( GLenum target, GLfloat* v ) {
2260
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2261
  ENTER_GL();
2262
  glMultiTexCoord2fvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2263 2264 2265
  LEAVE_GL();
}

2266
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2267
 *              glMultiTexCoord2iARB (OPENGL32.@)
2268
 */
2269
void WINAPI wine_glMultiTexCoord2iARB( GLenum target, GLint s, GLint t ) {
2270
  TRACE("(%d, %d, %d)\n", target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2271
  ENTER_GL();
2272
  glMultiTexCoord2iARB( target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2273 2274 2275
  LEAVE_GL();
}

2276
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2277
 *              glMultiTexCoord2ivARB (OPENGL32.@)
2278
 */
2279
void WINAPI wine_glMultiTexCoord2ivARB( GLenum target, GLint* v ) {
2280
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2281
  ENTER_GL();
2282
  glMultiTexCoord2ivARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2283 2284 2285
  LEAVE_GL();
}

2286
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2287
 *              glMultiTexCoord2sARB (OPENGL32.@)
2288
 */
2289
void WINAPI wine_glMultiTexCoord2sARB( GLenum target, GLshort s, GLshort t ) {
2290
  TRACE("(%d, %d, %d)\n", target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2291
  ENTER_GL();
2292
  glMultiTexCoord2sARB( target, s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2293 2294 2295
  LEAVE_GL();
}

2296
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2297
 *              glMultiTexCoord2svARB (OPENGL32.@)
2298
 */
2299
void WINAPI wine_glMultiTexCoord2svARB( GLenum target, GLshort* v ) {
2300
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2301
  ENTER_GL();
2302
  glMultiTexCoord2svARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2303 2304 2305
  LEAVE_GL();
}

2306
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2307
 *              glMultiTexCoord3dARB (OPENGL32.@)
2308
 */
2309
void WINAPI wine_glMultiTexCoord3dARB( GLenum target, GLdouble s, GLdouble t, GLdouble r ) {
2310
  TRACE("(%d, %f, %f, %f)\n", target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2311
  ENTER_GL();
2312
  glMultiTexCoord3dARB( target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2313 2314 2315
  LEAVE_GL();
}

2316
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2317
 *              glMultiTexCoord3dvARB (OPENGL32.@)
2318
 */
2319
void WINAPI wine_glMultiTexCoord3dvARB( GLenum target, GLdouble* v ) {
2320
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2321
  ENTER_GL();
2322
  glMultiTexCoord3dvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2323 2324 2325
  LEAVE_GL();
}

2326
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2327
 *              glMultiTexCoord3fARB (OPENGL32.@)
2328
 */
2329
void WINAPI wine_glMultiTexCoord3fARB( GLenum target, GLfloat s, GLfloat t, GLfloat r ) {
2330
  TRACE("(%d, %f, %f, %f)\n", target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2331
  ENTER_GL();
2332
  glMultiTexCoord3fARB( target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2333 2334 2335
  LEAVE_GL();
}

2336
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2337
 *              glMultiTexCoord3fvARB (OPENGL32.@)
2338
 */
2339
void WINAPI wine_glMultiTexCoord3fvARB( GLenum target, GLfloat* v ) {
2340
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2341
  ENTER_GL();
2342
  glMultiTexCoord3fvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2343 2344 2345
  LEAVE_GL();
}

2346
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2347
 *              glMultiTexCoord3iARB (OPENGL32.@)
2348
 */
2349
void WINAPI wine_glMultiTexCoord3iARB( GLenum target, GLint s, GLint t, GLint r ) {
2350
  TRACE("(%d, %d, %d, %d)\n", target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2351
  ENTER_GL();
2352
  glMultiTexCoord3iARB( target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2353 2354 2355
  LEAVE_GL();
}

2356
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2357
 *              glMultiTexCoord3ivARB (OPENGL32.@)
2358
 */
2359
void WINAPI wine_glMultiTexCoord3ivARB( GLenum target, GLint* v ) {
2360
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2361
  ENTER_GL();
2362
  glMultiTexCoord3ivARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2363 2364 2365
  LEAVE_GL();
}

2366
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2367
 *              glMultiTexCoord3sARB (OPENGL32.@)
2368
 */
2369
void WINAPI wine_glMultiTexCoord3sARB( GLenum target, GLshort s, GLshort t, GLshort r ) {
2370
  TRACE("(%d, %d, %d, %d)\n", target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2371
  ENTER_GL();
2372
  glMultiTexCoord3sARB( target, s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2373 2374 2375
  LEAVE_GL();
}

2376
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2377
 *              glMultiTexCoord3svARB (OPENGL32.@)
2378
 */
2379
void WINAPI wine_glMultiTexCoord3svARB( GLenum target, GLshort* v ) {
2380
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2381
  ENTER_GL();
2382
  glMultiTexCoord3svARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2383 2384 2385
  LEAVE_GL();
}

2386
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2387
 *              glMultiTexCoord4dARB (OPENGL32.@)
2388
 */
2389
void WINAPI wine_glMultiTexCoord4dARB( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ) {
2390
  TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2391
  ENTER_GL();
2392
  glMultiTexCoord4dARB( target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2393 2394 2395
  LEAVE_GL();
}

2396
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2397
 *              glMultiTexCoord4dvARB (OPENGL32.@)
2398
 */
2399
void WINAPI wine_glMultiTexCoord4dvARB( GLenum target, GLdouble* v ) {
2400
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2401
  ENTER_GL();
2402
  glMultiTexCoord4dvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2403 2404 2405
  LEAVE_GL();
}

2406
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2407
 *              glMultiTexCoord4fARB (OPENGL32.@)
2408
 */
2409
void WINAPI wine_glMultiTexCoord4fARB( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ) {
2410
  TRACE("(%d, %f, %f, %f, %f)\n", target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2411
  ENTER_GL();
2412
  glMultiTexCoord4fARB( target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2413 2414 2415
  LEAVE_GL();
}

2416
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2417
 *              glMultiTexCoord4fvARB (OPENGL32.@)
2418
 */
2419
void WINAPI wine_glMultiTexCoord4fvARB( GLenum target, GLfloat* v ) {
2420
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2421
  ENTER_GL();
2422
  glMultiTexCoord4fvARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2423 2424 2425
  LEAVE_GL();
}

2426
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2427
 *              glMultiTexCoord4iARB (OPENGL32.@)
2428
 */
2429
void WINAPI wine_glMultiTexCoord4iARB( GLenum target, GLint s, GLint t, GLint r, GLint q ) {
2430
  TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2431
  ENTER_GL();
2432
  glMultiTexCoord4iARB( target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2433 2434 2435
  LEAVE_GL();
}

2436
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2437
 *              glMultiTexCoord4ivARB (OPENGL32.@)
2438
 */
2439
void WINAPI wine_glMultiTexCoord4ivARB( GLenum target, GLint* v ) {
2440
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2441
  ENTER_GL();
2442
  glMultiTexCoord4ivARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2443 2444 2445
  LEAVE_GL();
}

2446
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2447
 *              glMultiTexCoord4sARB (OPENGL32.@)
2448
 */
2449
void WINAPI wine_glMultiTexCoord4sARB( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ) {
2450
  TRACE("(%d, %d, %d, %d, %d)\n", target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2451
  ENTER_GL();
2452
  glMultiTexCoord4sARB( target, s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2453 2454 2455
  LEAVE_GL();
}

2456
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2457
 *              glMultiTexCoord4svARB (OPENGL32.@)
2458
 */
2459
void WINAPI wine_glMultiTexCoord4svARB( GLenum target, GLshort* v ) {
2460
  TRACE("(%d, %p)\n", target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2461
  ENTER_GL();
2462
  glMultiTexCoord4svARB( target, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2463 2464 2465
  LEAVE_GL();
}

2466
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2467
 *              glNewList (OPENGL32.@)
2468
 */
2469
void WINAPI wine_glNewList( GLuint list, GLenum mode ) {
2470
  TRACE("(%d, %d)\n", list, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2471
  ENTER_GL();
2472
  glNewList( list, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2473 2474 2475
  LEAVE_GL();
}

2476
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2477
 *              glNormal3b (OPENGL32.@)
2478
 */
2479
void WINAPI wine_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) {
2480
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2481
  ENTER_GL();
2482
  glNormal3b( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2483 2484 2485
  LEAVE_GL();
}

2486
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2487
 *              glNormal3bv (OPENGL32.@)
2488
 */
2489
void WINAPI wine_glNormal3bv( GLbyte* v ) {
2490
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2491
  ENTER_GL();
2492
  glNormal3bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2493 2494 2495
  LEAVE_GL();
}

2496
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2497
 *              glNormal3d (OPENGL32.@)
2498
 */
2499
void WINAPI wine_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) {
2500
  TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2501
  ENTER_GL();
2502
  glNormal3d( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2503 2504 2505
  LEAVE_GL();
}

2506
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2507
 *              glNormal3dv (OPENGL32.@)
2508
 */
2509
void WINAPI wine_glNormal3dv( GLdouble* v ) {
2510
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2511
  ENTER_GL();
2512
  glNormal3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2513 2514 2515
  LEAVE_GL();
}

2516
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2517
 *              glNormal3f (OPENGL32.@)
2518
 */
2519
void WINAPI wine_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) {
2520
  TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2521
  ENTER_GL();
2522
  glNormal3f( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2523 2524 2525
  LEAVE_GL();
}

2526
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2527
 *              glNormal3fv (OPENGL32.@)
2528
 */
2529
void WINAPI wine_glNormal3fv( GLfloat* v ) {
2530
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2531
  ENTER_GL();
2532
  glNormal3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2533 2534 2535
  LEAVE_GL();
}

2536
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2537
 *              glNormal3i (OPENGL32.@)
2538
 */
2539
void WINAPI wine_glNormal3i( GLint nx, GLint ny, GLint nz ) {
2540
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2541
  ENTER_GL();
2542
  glNormal3i( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2543 2544 2545
  LEAVE_GL();
}

2546
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2547
 *              glNormal3iv (OPENGL32.@)
2548
 */
2549
void WINAPI wine_glNormal3iv( GLint* v ) {
2550
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2551
  ENTER_GL();
2552
  glNormal3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2553 2554 2555
  LEAVE_GL();
}

2556
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2557
 *              glNormal3s (OPENGL32.@)
2558
 */
2559
void WINAPI wine_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) {
2560
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2561
  ENTER_GL();
2562
  glNormal3s( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2563 2564 2565
  LEAVE_GL();
}

2566
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2567
 *              glNormal3sv (OPENGL32.@)
2568
 */
2569
void WINAPI wine_glNormal3sv( GLshort* v ) {
2570
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2571
  ENTER_GL();
2572
  glNormal3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2573 2574 2575
  LEAVE_GL();
}

2576
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2577
 *              glNormalPointer (OPENGL32.@)
2578
 */
2579
void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
2580
  TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2581
  ENTER_GL();
2582
  glNormalPointer( type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2583 2584 2585
  LEAVE_GL();
}

2586
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2587
 *              glOrtho (OPENGL32.@)
2588
 */
2589
void WINAPI wine_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
2590
  TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
2591
  ENTER_GL();
2592
  glOrtho( left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
2593 2594 2595
  LEAVE_GL();
}

2596
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2597
 *              glPassThrough (OPENGL32.@)
2598
 */
2599
void WINAPI wine_glPassThrough( GLfloat token ) {
2600
  TRACE("(%f)\n", token );
Lionel Ulmer's avatar
Lionel Ulmer committed
2601
  ENTER_GL();
2602
  glPassThrough( token );
Lionel Ulmer's avatar
Lionel Ulmer committed
2603 2604 2605
  LEAVE_GL();
}

2606
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2607
 *              glPixelMapfv (OPENGL32.@)
2608
 */
2609
void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, GLfloat* values ) {
2610
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2611
  ENTER_GL();
2612
  glPixelMapfv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2613 2614 2615
  LEAVE_GL();
}

2616
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2617
 *              glPixelMapuiv (OPENGL32.@)
2618
 */
2619
void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, GLuint* values ) {
2620
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2621
  ENTER_GL();
2622
  glPixelMapuiv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2623 2624 2625
  LEAVE_GL();
}

2626
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2627
 *              glPixelMapusv (OPENGL32.@)
2628
 */
2629
void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, GLushort* values ) {
2630
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2631
  ENTER_GL();
2632
  glPixelMapusv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2633 2634 2635
  LEAVE_GL();
}

2636
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2637
 *              glPixelStoref (OPENGL32.@)
2638
 */
2639
void WINAPI wine_glPixelStoref( GLenum pname, GLfloat param ) {
2640
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2641
  ENTER_GL();
2642
  glPixelStoref( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2643 2644 2645
  LEAVE_GL();
}

2646
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2647
 *              glPixelStorei (OPENGL32.@)
2648
 */
2649
void WINAPI wine_glPixelStorei( GLenum pname, GLint param ) {
2650
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2651
  ENTER_GL();
2652
  glPixelStorei( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2653 2654 2655
  LEAVE_GL();
}

2656
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2657
 *              glPixelTransferf (OPENGL32.@)
2658
 */
2659
void WINAPI wine_glPixelTransferf( GLenum pname, GLfloat param ) {
2660
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2661
  ENTER_GL();
2662
  glPixelTransferf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2663 2664 2665
  LEAVE_GL();
}

2666
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2667
 *              glPixelTransferi (OPENGL32.@)
2668
 */
2669
void WINAPI wine_glPixelTransferi( GLenum pname, GLint param ) {
2670
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2671
  ENTER_GL();
2672
  glPixelTransferi( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2673 2674 2675
  LEAVE_GL();
}

2676
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2677
 *              glPixelZoom (OPENGL32.@)
2678
 */
2679
void WINAPI wine_glPixelZoom( GLfloat xfactor, GLfloat yfactor ) {
2680
  TRACE("(%f, %f)\n", xfactor, yfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
2681
  ENTER_GL();
2682
  glPixelZoom( xfactor, yfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
2683 2684 2685
  LEAVE_GL();
}

2686
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2687
 *              glPointSize (OPENGL32.@)
2688
 */
2689
void WINAPI wine_glPointSize( GLfloat size ) {
2690
  TRACE("(%f)\n", size );
Lionel Ulmer's avatar
Lionel Ulmer committed
2691
  ENTER_GL();
2692
  glPointSize( size );
Lionel Ulmer's avatar
Lionel Ulmer committed
2693 2694 2695
  LEAVE_GL();
}

2696
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2697
 *              glPolygonMode (OPENGL32.@)
2698
 */
2699
void WINAPI wine_glPolygonMode( GLenum face, GLenum mode ) {
2700
  TRACE("(%d, %d)\n", face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2701
  ENTER_GL();
2702
  glPolygonMode( face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2703 2704 2705
  LEAVE_GL();
}

2706
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2707
 *              glPolygonOffset (OPENGL32.@)
2708
 */
2709
void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) {
2710
  TRACE("(%f, %f)\n", factor, units );
Lionel Ulmer's avatar
Lionel Ulmer committed
2711
  ENTER_GL();
2712
  glPolygonOffset( factor, units );
Lionel Ulmer's avatar
Lionel Ulmer committed
2713 2714 2715
  LEAVE_GL();
}

2716
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2717
 *              glPolygonStipple (OPENGL32.@)
2718
 */
2719
void WINAPI wine_glPolygonStipple( GLubyte* mask ) {
2720
  TRACE("(%p)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2721
  ENTER_GL();
2722
  glPolygonStipple( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2723 2724 2725
  LEAVE_GL();
}

2726
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2727
 *              glPopAttrib (OPENGL32.@)
2728
 */
2729
void WINAPI wine_glPopAttrib( ) {
2730
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2731
  ENTER_GL();
2732
  glPopAttrib( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2733 2734 2735
  LEAVE_GL();
}

2736
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2737
 *              glPopClientAttrib (OPENGL32.@)
2738
 */
2739
void WINAPI wine_glPopClientAttrib( ) {
2740
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2741
  ENTER_GL();
2742
  glPopClientAttrib( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2743 2744 2745
  LEAVE_GL();
}

2746
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2747
 *              glPopMatrix (OPENGL32.@)
2748
 */
2749
void WINAPI wine_glPopMatrix( ) {
2750
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2751
  ENTER_GL();
2752
  glPopMatrix( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2753 2754 2755
  LEAVE_GL();
}

2756
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2757
 *              glPopName (OPENGL32.@)
2758
 */
2759
void WINAPI wine_glPopName( ) {
2760
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2761
  ENTER_GL();
2762
  glPopName( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2763 2764 2765
  LEAVE_GL();
}

2766
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2767
 *              glPrioritizeTextures (OPENGL32.@)
2768
 */
2769
void WINAPI wine_glPrioritizeTextures( GLsizei n, GLuint* textures, GLclampf* priorities ) {
2770
  TRACE("(%d, %p, %p)\n", n, textures, priorities );
Lionel Ulmer's avatar
Lionel Ulmer committed
2771
  ENTER_GL();
2772
  glPrioritizeTextures( n, textures, priorities );
Lionel Ulmer's avatar
Lionel Ulmer committed
2773 2774 2775
  LEAVE_GL();
}

2776
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2777
 *              glPushAttrib (OPENGL32.@)
2778
 */
2779
void WINAPI wine_glPushAttrib( GLbitfield mask ) {
2780
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2781
  ENTER_GL();
2782
  glPushAttrib( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2783 2784 2785
  LEAVE_GL();
}

2786
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2787
 *              glPushClientAttrib (OPENGL32.@)
2788
 */
2789
void WINAPI wine_glPushClientAttrib( GLbitfield mask ) {
2790
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2791
  ENTER_GL();
2792
  glPushClientAttrib( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2793 2794 2795
  LEAVE_GL();
}

2796
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2797
 *              glPushMatrix (OPENGL32.@)
2798
 */
2799
void WINAPI wine_glPushMatrix( ) {
2800
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2801
  ENTER_GL();
2802
  glPushMatrix( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2803 2804 2805
  LEAVE_GL();
}

2806
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2807
 *              glPushName (OPENGL32.@)
2808
 */
2809
void WINAPI wine_glPushName( GLuint name ) {
2810
  TRACE("(%d)\n", name );
Lionel Ulmer's avatar
Lionel Ulmer committed
2811
  ENTER_GL();
2812
  glPushName( name );
Lionel Ulmer's avatar
Lionel Ulmer committed
2813 2814 2815
  LEAVE_GL();
}

2816
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2817
 *              glRasterPos2d (OPENGL32.@)
2818
 */
2819
void WINAPI wine_glRasterPos2d( GLdouble x, GLdouble y ) {
2820
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2821
  ENTER_GL();
2822
  glRasterPos2d( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2823 2824 2825
  LEAVE_GL();
}

2826
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2827
 *              glRasterPos2dv (OPENGL32.@)
2828
 */
2829
void WINAPI wine_glRasterPos2dv( GLdouble* v ) {
2830
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2831
  ENTER_GL();
2832
  glRasterPos2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2833 2834 2835
  LEAVE_GL();
}

2836
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2837
 *              glRasterPos2f (OPENGL32.@)
2838
 */
2839
void WINAPI wine_glRasterPos2f( GLfloat x, GLfloat y ) {
2840
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2841
  ENTER_GL();
2842
  glRasterPos2f( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2843 2844 2845
  LEAVE_GL();
}

2846
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2847
 *              glRasterPos2fv (OPENGL32.@)
2848
 */
2849
void WINAPI wine_glRasterPos2fv( GLfloat* v ) {
2850
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2851
  ENTER_GL();
2852
  glRasterPos2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2853 2854 2855
  LEAVE_GL();
}

2856
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2857
 *              glRasterPos2i (OPENGL32.@)
2858
 */
2859
void WINAPI wine_glRasterPos2i( GLint x, GLint y ) {
2860
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2861
  ENTER_GL();
2862
  glRasterPos2i( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2863 2864 2865
  LEAVE_GL();
}

2866
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2867
 *              glRasterPos2iv (OPENGL32.@)
2868
 */
2869
void WINAPI wine_glRasterPos2iv( GLint* v ) {
2870
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2871
  ENTER_GL();
2872
  glRasterPos2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2873 2874 2875
  LEAVE_GL();
}

2876
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2877
 *              glRasterPos2s (OPENGL32.@)
2878
 */
2879
void WINAPI wine_glRasterPos2s( GLshort x, GLshort y ) {
2880
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2881
  ENTER_GL();
2882
  glRasterPos2s( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2883 2884 2885
  LEAVE_GL();
}

2886
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2887
 *              glRasterPos2sv (OPENGL32.@)
2888
 */
2889
void WINAPI wine_glRasterPos2sv( GLshort* v ) {
2890
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2891
  ENTER_GL();
2892
  glRasterPos2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2893 2894 2895
  LEAVE_GL();
}

2896
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2897
 *              glRasterPos3d (OPENGL32.@)
2898
 */
2899
void WINAPI wine_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) {
2900
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2901
  ENTER_GL();
2902
  glRasterPos3d( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2903 2904 2905
  LEAVE_GL();
}

2906
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2907
 *              glRasterPos3dv (OPENGL32.@)
2908
 */
2909
void WINAPI wine_glRasterPos3dv( GLdouble* v ) {
2910
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2911
  ENTER_GL();
2912
  glRasterPos3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2913 2914 2915
  LEAVE_GL();
}

2916
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2917
 *              glRasterPos3f (OPENGL32.@)
2918
 */
2919
void WINAPI wine_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) {
2920
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2921
  ENTER_GL();
2922
  glRasterPos3f( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2923 2924 2925
  LEAVE_GL();
}

2926
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2927
 *              glRasterPos3fv (OPENGL32.@)
2928
 */
2929
void WINAPI wine_glRasterPos3fv( GLfloat* v ) {
2930
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2931
  ENTER_GL();
2932
  glRasterPos3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2933 2934 2935
  LEAVE_GL();
}

2936
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2937
 *              glRasterPos3i (OPENGL32.@)
2938
 */
2939
void WINAPI wine_glRasterPos3i( GLint x, GLint y, GLint z ) {
2940
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2941
  ENTER_GL();
2942
  glRasterPos3i( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2943 2944 2945
  LEAVE_GL();
}

2946
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2947
 *              glRasterPos3iv (OPENGL32.@)
2948
 */
2949
void WINAPI wine_glRasterPos3iv( GLint* v ) {
2950
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2951
  ENTER_GL();
2952
  glRasterPos3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2953 2954 2955
  LEAVE_GL();
}

2956
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2957
 *              glRasterPos3s (OPENGL32.@)
2958
 */
2959
void WINAPI wine_glRasterPos3s( GLshort x, GLshort y, GLshort z ) {
2960
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2961
  ENTER_GL();
2962
  glRasterPos3s( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2963 2964 2965
  LEAVE_GL();
}

2966
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2967
 *              glRasterPos3sv (OPENGL32.@)
2968
 */
2969
void WINAPI wine_glRasterPos3sv( GLshort* v ) {
2970
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2971
  ENTER_GL();
2972
  glRasterPos3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2973 2974 2975
  LEAVE_GL();
}

2976
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2977
 *              glRasterPos4d (OPENGL32.@)
2978
 */
2979
void WINAPI wine_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
2980
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2981
  ENTER_GL();
2982
  glRasterPos4d( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2983 2984 2985
  LEAVE_GL();
}

2986
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2987
 *              glRasterPos4dv (OPENGL32.@)
2988
 */
2989
void WINAPI wine_glRasterPos4dv( GLdouble* v ) {
2990
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2991
  ENTER_GL();
2992
  glRasterPos4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2993 2994 2995
  LEAVE_GL();
}

2996
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2997
 *              glRasterPos4f (OPENGL32.@)
2998
 */
2999
void WINAPI wine_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
3000
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3001
  ENTER_GL();
3002
  glRasterPos4f( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3003 3004 3005
  LEAVE_GL();
}

3006
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3007
 *              glRasterPos4fv (OPENGL32.@)
3008
 */
3009
void WINAPI wine_glRasterPos4fv( GLfloat* v ) {
3010
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3011
  ENTER_GL();
3012
  glRasterPos4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3013 3014 3015
  LEAVE_GL();
}

3016
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3017
 *              glRasterPos4i (OPENGL32.@)
3018
 */
3019
void WINAPI wine_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) {
3020
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3021
  ENTER_GL();
3022
  glRasterPos4i( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3023 3024 3025
  LEAVE_GL();
}

3026
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3027
 *              glRasterPos4iv (OPENGL32.@)
3028
 */
3029
void WINAPI wine_glRasterPos4iv( GLint* v ) {
3030
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3031
  ENTER_GL();
3032
  glRasterPos4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3033 3034 3035
  LEAVE_GL();
}

3036
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3037
 *              glRasterPos4s (OPENGL32.@)
3038
 */
3039
void WINAPI wine_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
3040
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3041
  ENTER_GL();
3042
  glRasterPos4s( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3043 3044 3045
  LEAVE_GL();
}

3046
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3047
 *              glRasterPos4sv (OPENGL32.@)
3048
 */
3049
void WINAPI wine_glRasterPos4sv( GLshort* v ) {
3050
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3051
  ENTER_GL();
3052
  glRasterPos4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3053 3054 3055
  LEAVE_GL();
}

3056
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3057
 *              glReadBuffer (OPENGL32.@)
3058
 */
3059
void WINAPI wine_glReadBuffer( GLenum mode ) {
3060
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
3061
  ENTER_GL();
3062
  glReadBuffer( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
3063 3064 3065
  LEAVE_GL();
}

3066
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3067
 *              glReadPixels (OPENGL32.@)
3068
 */
3069
void WINAPI wine_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
3070
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3071
  ENTER_GL();
3072
  glReadPixels( x, y, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3073 3074 3075
  LEAVE_GL();
}

3076
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3077
 *              glRectd (OPENGL32.@)
3078
 */
3079
void WINAPI wine_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) {
3080
  TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3081
  ENTER_GL();
3082
  glRectd( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3083 3084 3085
  LEAVE_GL();
}

3086
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3087
 *              glRectdv (OPENGL32.@)
3088
 */
3089
void WINAPI wine_glRectdv( GLdouble* v1, GLdouble* v2 ) {
3090
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3091
  ENTER_GL();
3092
  glRectdv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3093 3094 3095
  LEAVE_GL();
}

3096
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3097
 *              glRectf (OPENGL32.@)
3098
 */
3099
void WINAPI wine_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) {
3100
  TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3101
  ENTER_GL();
3102
  glRectf( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3103 3104 3105
  LEAVE_GL();
}

3106
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3107
 *              glRectfv (OPENGL32.@)
3108
 */
3109
void WINAPI wine_glRectfv( GLfloat* v1, GLfloat* v2 ) {
3110
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3111
  ENTER_GL();
3112
  glRectfv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3113 3114 3115
  LEAVE_GL();
}

3116
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3117
 *              glRecti (OPENGL32.@)
3118
 */
3119
void WINAPI wine_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) {
3120
  TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3121
  ENTER_GL();
3122
  glRecti( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3123 3124 3125
  LEAVE_GL();
}

3126
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3127
 *              glRectiv (OPENGL32.@)
3128
 */
3129
void WINAPI wine_glRectiv( GLint* v1, GLint* v2 ) {
3130
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3131
  ENTER_GL();
3132
  glRectiv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3133 3134 3135
  LEAVE_GL();
}

3136
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3137
 *              glRects (OPENGL32.@)
3138
 */
3139
void WINAPI wine_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) {
3140
  TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3141
  ENTER_GL();
3142
  glRects( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3143 3144 3145
  LEAVE_GL();
}

3146
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3147
 *              glRectsv (OPENGL32.@)
3148
 */
3149
void WINAPI wine_glRectsv( GLshort* v1, GLshort* v2 ) {
3150
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3151
  ENTER_GL();
3152
  glRectsv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
3153 3154 3155
  LEAVE_GL();
}

3156
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3157
 *              glRenderMode (OPENGL32.@)
3158
 */
3159 3160
GLint WINAPI wine_glRenderMode( GLenum mode ) {
  GLint ret_value;
3161
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
3162
  ENTER_GL();
3163
  ret_value = glRenderMode( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
3164
  LEAVE_GL();
3165
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
3166 3167
}

3168
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3169
 *              glResetHistogram (OPENGL32.@)
3170
 */
3171
void WINAPI wine_glResetHistogram( GLenum target ) {
3172
  TRACE("(%d)\n", target );
Lionel Ulmer's avatar
Lionel Ulmer committed
3173
  ENTER_GL();
3174
  glResetHistogram( target );
Lionel Ulmer's avatar
Lionel Ulmer committed
3175 3176 3177
  LEAVE_GL();
}

3178
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3179
 *              glResetMinmax (OPENGL32.@)
3180
 */
3181
void WINAPI wine_glResetMinmax( GLenum target ) {
3182
  TRACE("(%d)\n", target );
Lionel Ulmer's avatar
Lionel Ulmer committed
3183
  ENTER_GL();
3184
  glResetMinmax( target );
Lionel Ulmer's avatar
Lionel Ulmer committed
3185 3186 3187
  LEAVE_GL();
}

3188
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3189
 *              glRotated (OPENGL32.@)
3190
 */
3191
void WINAPI wine_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) {
3192
  TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3193
  ENTER_GL();
3194
  glRotated( angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3195 3196 3197
  LEAVE_GL();
}

3198
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3199
 *              glRotatef (OPENGL32.@)
3200
 */
3201
void WINAPI wine_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) {
3202
  TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3203
  ENTER_GL();
3204
  glRotatef( angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3205 3206 3207
  LEAVE_GL();
}

3208
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3209
 *              glScaled (OPENGL32.@)
3210
 */
3211
void WINAPI wine_glScaled( GLdouble x, GLdouble y, GLdouble z ) {
3212
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3213
  ENTER_GL();
3214
  glScaled( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3215 3216 3217
  LEAVE_GL();
}

3218
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3219
 *              glScalef (OPENGL32.@)
3220
 */
3221
void WINAPI wine_glScalef( GLfloat x, GLfloat y, GLfloat z ) {
3222
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3223
  ENTER_GL();
3224
  glScalef( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3225 3226 3227
  LEAVE_GL();
}

3228
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3229
 *              glScissor (OPENGL32.@)
3230
 */
3231
void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) {
3232
  TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
3233
  ENTER_GL();
3234
  glScissor( x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
3235 3236 3237
  LEAVE_GL();
}

3238
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3239
 *              glSelectBuffer (OPENGL32.@)
3240
 */
3241
void WINAPI wine_glSelectBuffer( GLsizei size, GLuint* buffer ) {
3242
  TRACE("(%d, %p)\n", size, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3243
  ENTER_GL();
3244
  glSelectBuffer( size, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3245 3246 3247
  LEAVE_GL();
}

3248
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3249
 *              glSeparableFilter2D (OPENGL32.@)
3250
 */
3251
void WINAPI wine_glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* row, GLvoid* column ) {
3252
  TRACE("(%d, %d, %d, %d, %d, %d, %p, %p)\n", target, internalformat, width, height, format, type, row, column );
Lionel Ulmer's avatar
Lionel Ulmer committed
3253
  ENTER_GL();
3254
  glSeparableFilter2D( target, internalformat, width, height, format, type, row, column );
Lionel Ulmer's avatar
Lionel Ulmer committed
3255 3256 3257
  LEAVE_GL();
}

3258
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3259
 *              glShadeModel (OPENGL32.@)
3260
 */
3261
void WINAPI wine_glShadeModel( GLenum mode ) {
3262
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
3263
  ENTER_GL();
3264
  glShadeModel( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
3265 3266 3267
  LEAVE_GL();
}

3268
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3269
 *              glStencilFunc (OPENGL32.@)
3270
 */
3271
void WINAPI wine_glStencilFunc( GLenum func, GLint ref, GLuint mask ) {
3272
  TRACE("(%d, %d, %d)\n", func, ref, mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
3273
  ENTER_GL();
3274
  glStencilFunc( func, ref, mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
3275 3276 3277
  LEAVE_GL();
}

3278
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3279
 *              glStencilMask (OPENGL32.@)
3280
 */
3281
void WINAPI wine_glStencilMask( GLuint mask ) {
3282
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
3283
  ENTER_GL();
3284
  glStencilMask( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
3285 3286 3287
  LEAVE_GL();
}

3288
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3289
 *              glStencilOp (OPENGL32.@)
3290
 */
3291
void WINAPI wine_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) {
3292
  TRACE("(%d, %d, %d)\n", fail, zfail, zpass );
Lionel Ulmer's avatar
Lionel Ulmer committed
3293
  ENTER_GL();
3294
  glStencilOp( fail, zfail, zpass );
Lionel Ulmer's avatar
Lionel Ulmer committed
3295 3296 3297
  LEAVE_GL();
}

3298
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3299
 *              glTexCoord1d (OPENGL32.@)
3300
 */
3301
void WINAPI wine_glTexCoord1d( GLdouble s ) {
3302
  TRACE("(%f)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3303
  ENTER_GL();
3304
  glTexCoord1d( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3305 3306 3307
  LEAVE_GL();
}

3308
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3309
 *              glTexCoord1dv (OPENGL32.@)
3310
 */
3311
void WINAPI wine_glTexCoord1dv( GLdouble* v ) {
3312
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3313
  ENTER_GL();
3314
  glTexCoord1dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3315 3316 3317
  LEAVE_GL();
}

3318
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3319
 *              glTexCoord1f (OPENGL32.@)
3320
 */
3321
void WINAPI wine_glTexCoord1f( GLfloat s ) {
3322
  TRACE("(%f)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3323
  ENTER_GL();
3324
  glTexCoord1f( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3325 3326 3327
  LEAVE_GL();
}

3328
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3329
 *              glTexCoord1fv (OPENGL32.@)
3330
 */
3331
void WINAPI wine_glTexCoord1fv( GLfloat* v ) {
3332
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3333
  ENTER_GL();
3334
  glTexCoord1fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3335 3336 3337
  LEAVE_GL();
}

3338
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3339
 *              glTexCoord1i (OPENGL32.@)
3340
 */
3341
void WINAPI wine_glTexCoord1i( GLint s ) {
3342
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3343
  ENTER_GL();
3344
  glTexCoord1i( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3345 3346 3347
  LEAVE_GL();
}

3348
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3349
 *              glTexCoord1iv (OPENGL32.@)
3350
 */
3351
void WINAPI wine_glTexCoord1iv( GLint* v ) {
3352
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3353
  ENTER_GL();
3354
  glTexCoord1iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3355 3356 3357
  LEAVE_GL();
}

3358
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3359
 *              glTexCoord1s (OPENGL32.@)
3360
 */
3361
void WINAPI wine_glTexCoord1s( GLshort s ) {
3362
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3363
  ENTER_GL();
3364
  glTexCoord1s( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
3365 3366 3367
  LEAVE_GL();
}

3368
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3369
 *              glTexCoord1sv (OPENGL32.@)
3370
 */
3371
void WINAPI wine_glTexCoord1sv( GLshort* v ) {
3372
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3373
  ENTER_GL();
3374
  glTexCoord1sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3375 3376 3377
  LEAVE_GL();
}

3378
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3379
 *              glTexCoord2d (OPENGL32.@)
3380
 */
3381
void WINAPI wine_glTexCoord2d( GLdouble s, GLdouble t ) {
3382
  TRACE("(%f, %f)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3383
  ENTER_GL();
3384
  glTexCoord2d( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3385 3386 3387
  LEAVE_GL();
}

3388
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3389
 *              glTexCoord2dv (OPENGL32.@)
3390
 */
3391
void WINAPI wine_glTexCoord2dv( GLdouble* v ) {
3392
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3393
  ENTER_GL();
3394
  glTexCoord2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3395 3396 3397
  LEAVE_GL();
}

3398
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3399
 *              glTexCoord2f (OPENGL32.@)
3400
 */
3401
void WINAPI wine_glTexCoord2f( GLfloat s, GLfloat t ) {
3402
  TRACE("(%f, %f)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3403
  ENTER_GL();
3404
  glTexCoord2f( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3405 3406 3407
  LEAVE_GL();
}

3408
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3409
 *              glTexCoord2fv (OPENGL32.@)
3410
 */
3411
void WINAPI wine_glTexCoord2fv( GLfloat* v ) {
3412
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3413
  ENTER_GL();
3414
  glTexCoord2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3415 3416 3417
  LEAVE_GL();
}

3418
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3419
 *              glTexCoord2i (OPENGL32.@)
3420
 */
3421
void WINAPI wine_glTexCoord2i( GLint s, GLint t ) {
3422
  TRACE("(%d, %d)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3423
  ENTER_GL();
3424
  glTexCoord2i( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3425 3426 3427
  LEAVE_GL();
}

3428
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3429
 *              glTexCoord2iv (OPENGL32.@)
3430
 */
3431
void WINAPI wine_glTexCoord2iv( GLint* v ) {
3432
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3433
  ENTER_GL();
3434
  glTexCoord2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3435 3436 3437
  LEAVE_GL();
}

3438
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3439
 *              glTexCoord2s (OPENGL32.@)
3440
 */
3441
void WINAPI wine_glTexCoord2s( GLshort s, GLshort t ) {
3442
  TRACE("(%d, %d)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3443
  ENTER_GL();
3444
  glTexCoord2s( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3445 3446 3447
  LEAVE_GL();
}

3448
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3449
 *              glTexCoord2sv (OPENGL32.@)
3450
 */
3451
void WINAPI wine_glTexCoord2sv( GLshort* v ) {
3452
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3453
  ENTER_GL();
3454
  glTexCoord2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3455 3456 3457
  LEAVE_GL();
}

3458
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3459
 *              glTexCoord3d (OPENGL32.@)
3460
 */
3461
void WINAPI wine_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) {
3462
  TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3463
  ENTER_GL();
3464
  glTexCoord3d( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3465 3466 3467
  LEAVE_GL();
}

3468
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3469
 *              glTexCoord3dv (OPENGL32.@)
3470
 */
3471
void WINAPI wine_glTexCoord3dv( GLdouble* v ) {
3472
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3473
  ENTER_GL();
3474
  glTexCoord3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3475 3476 3477
  LEAVE_GL();
}

3478
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3479
 *              glTexCoord3f (OPENGL32.@)
3480
 */
3481
void WINAPI wine_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) {
3482
  TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3483
  ENTER_GL();
3484
  glTexCoord3f( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3485 3486 3487
  LEAVE_GL();
}

3488
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3489
 *              glTexCoord3fv (OPENGL32.@)
3490
 */
3491
void WINAPI wine_glTexCoord3fv( GLfloat* v ) {
3492
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3493
  ENTER_GL();
3494
  glTexCoord3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3495 3496 3497
  LEAVE_GL();
}

3498
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3499
 *              glTexCoord3i (OPENGL32.@)
3500
 */
3501
void WINAPI wine_glTexCoord3i( GLint s, GLint t, GLint r ) {
3502
  TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3503
  ENTER_GL();
3504
  glTexCoord3i( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3505 3506 3507
  LEAVE_GL();
}

3508
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3509
 *              glTexCoord3iv (OPENGL32.@)
3510
 */
3511
void WINAPI wine_glTexCoord3iv( GLint* v ) {
3512
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3513
  ENTER_GL();
3514
  glTexCoord3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3515 3516 3517
  LEAVE_GL();
}

3518
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3519
 *              glTexCoord3s (OPENGL32.@)
3520
 */
3521
void WINAPI wine_glTexCoord3s( GLshort s, GLshort t, GLshort r ) {
3522
  TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3523
  ENTER_GL();
3524
  glTexCoord3s( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3525 3526 3527
  LEAVE_GL();
}

3528
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3529
 *              glTexCoord3sv (OPENGL32.@)
3530
 */
3531
void WINAPI wine_glTexCoord3sv( GLshort* v ) {
3532
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3533
  ENTER_GL();
3534
  glTexCoord3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3535 3536 3537
  LEAVE_GL();
}

3538
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3539
 *              glTexCoord4d (OPENGL32.@)
3540
 */
3541
void WINAPI wine_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) {
3542
  TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3543
  ENTER_GL();
3544
  glTexCoord4d( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3545 3546 3547
  LEAVE_GL();
}

3548
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3549
 *              glTexCoord4dv (OPENGL32.@)
3550
 */
3551
void WINAPI wine_glTexCoord4dv( GLdouble* v ) {
3552
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3553
  ENTER_GL();
3554
  glTexCoord4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3555 3556 3557
  LEAVE_GL();
}

3558
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3559
 *              glTexCoord4f (OPENGL32.@)
3560
 */
3561
void WINAPI wine_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) {
3562
  TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3563
  ENTER_GL();
3564
  glTexCoord4f( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3565 3566 3567
  LEAVE_GL();
}

3568
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3569
 *              glTexCoord4fv (OPENGL32.@)
3570
 */
3571
void WINAPI wine_glTexCoord4fv( GLfloat* v ) {
3572
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3573
  ENTER_GL();
3574
  glTexCoord4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3575 3576 3577
  LEAVE_GL();
}

3578
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3579
 *              glTexCoord4i (OPENGL32.@)
3580
 */
3581
void WINAPI wine_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) {
3582
  TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3583
  ENTER_GL();
3584
  glTexCoord4i( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3585 3586 3587
  LEAVE_GL();
}

3588
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3589
 *              glTexCoord4iv (OPENGL32.@)
3590
 */
3591
void WINAPI wine_glTexCoord4iv( GLint* v ) {
3592
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3593
  ENTER_GL();
3594
  glTexCoord4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3595 3596 3597
  LEAVE_GL();
}

3598
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3599
 *              glTexCoord4s (OPENGL32.@)
3600
 */
3601
void WINAPI wine_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) {
3602
  TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3603
  ENTER_GL();
3604
  glTexCoord4s( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3605 3606 3607
  LEAVE_GL();
}

3608
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3609
 *              glTexCoord4sv (OPENGL32.@)
3610
 */
3611
void WINAPI wine_glTexCoord4sv( GLshort* v ) {
3612
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3613
  ENTER_GL();
3614
  glTexCoord4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3615 3616 3617
  LEAVE_GL();
}

3618
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3619
 *              glTexCoordPointer (OPENGL32.@)
3620
 */
3621
void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
3622
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3623
  ENTER_GL();
3624
  glTexCoordPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3625 3626 3627
  LEAVE_GL();
}

3628
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3629
 *              glTexEnvf (OPENGL32.@)
3630
 */
3631
void WINAPI wine_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) {
3632
  TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3633
  ENTER_GL();
3634
  glTexEnvf( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3635 3636 3637
  LEAVE_GL();
}

3638
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3639
 *              glTexEnvfv (OPENGL32.@)
3640
 */
3641
void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
3642
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3643
  ENTER_GL();
3644
  glTexEnvfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3645 3646 3647
  LEAVE_GL();
}

3648
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3649
 *              glTexEnvi (OPENGL32.@)
3650
 */
3651
void WINAPI wine_glTexEnvi( GLenum target, GLenum pname, GLint param ) {
3652
  TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3653
  ENTER_GL();
3654
  glTexEnvi( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3655 3656 3657
  LEAVE_GL();
}

3658
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3659
 *              glTexEnviv (OPENGL32.@)
3660
 */
3661
void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, GLint* params ) {
3662
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3663
  ENTER_GL();
3664
  glTexEnviv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3665 3666 3667
  LEAVE_GL();
}

3668
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3669
 *              glTexGend (OPENGL32.@)
3670
 */
3671
void WINAPI wine_glTexGend( GLenum coord, GLenum pname, GLdouble param ) {
3672
  TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3673
  ENTER_GL();
3674
  glTexGend( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3675 3676 3677
  LEAVE_GL();
}

3678
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3679
 *              glTexGendv (OPENGL32.@)
3680
 */
3681
void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
3682
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3683
  ENTER_GL();
3684
  glTexGendv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3685 3686 3687
  LEAVE_GL();
}

3688
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3689
 *              glTexGenf (OPENGL32.@)
3690
 */
3691
void WINAPI wine_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) {
3692
  TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3693
  ENTER_GL();
3694
  glTexGenf( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3695 3696 3697
  LEAVE_GL();
}

3698
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3699
 *              glTexGenfv (OPENGL32.@)
3700
 */
3701
void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
3702
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3703
  ENTER_GL();
3704
  glTexGenfv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3705 3706 3707
  LEAVE_GL();
}

3708
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3709
 *              glTexGeni (OPENGL32.@)
3710
 */
3711
void WINAPI wine_glTexGeni( GLenum coord, GLenum pname, GLint param ) {
3712
  TRACE("(%d, %d, %d)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3713
  ENTER_GL();
3714
  glTexGeni( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3715 3716 3717
  LEAVE_GL();
}

3718
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3719
 *              glTexGeniv (OPENGL32.@)
3720
 */
3721
void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
3722
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3723
  ENTER_GL();
3724
  glTexGeniv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3725 3726 3727
  LEAVE_GL();
}

3728
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3729
 *              glTexImage1D (OPENGL32.@)
3730
 */
3731
void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
3732
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3733
  ENTER_GL();
3734
  glTexImage1D( target, level, internalformat, width, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3735 3736 3737
  LEAVE_GL();
}

3738
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3739
 *              glTexImage2D (OPENGL32.@)
3740
 */
3741
void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
3742
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3743
  ENTER_GL();
3744
  glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3745 3746 3747
  LEAVE_GL();
}

3748
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3749
 *              glTexImage3D (OPENGL32.@)
3750
 */
3751
void WINAPI wine_glTexImage3D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
3752
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3753
  ENTER_GL();
3754
  glTexImage3D( target, level, internalformat, width, height, depth, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3755 3756 3757
  LEAVE_GL();
}

3758
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3759
 *              glTexParameterf (OPENGL32.@)
3760
 */
3761
void WINAPI wine_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) {
3762
  TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3763
  ENTER_GL();
3764
  glTexParameterf( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3765 3766 3767
  LEAVE_GL();
}

3768
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3769
 *              glTexParameterfv (OPENGL32.@)
3770
 */
3771
void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
3772
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3773
  ENTER_GL();
3774
  glTexParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3775 3776 3777
  LEAVE_GL();
}

3778
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3779
 *              glTexParameteri (OPENGL32.@)
3780
 */
3781
void WINAPI wine_glTexParameteri( GLenum target, GLenum pname, GLint param ) {
3782
  TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3783
  ENTER_GL();
3784
  glTexParameteri( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3785 3786 3787
  LEAVE_GL();
}

3788
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3789
 *              glTexParameteriv (OPENGL32.@)
3790
 */
3791
void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
3792
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3793
  ENTER_GL();
3794
  glTexParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3795 3796 3797
  LEAVE_GL();
}

3798
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3799
 *              glTexSubImage1D (OPENGL32.@)
3800
 */
3801
void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) {
3802
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3803
  ENTER_GL();
3804
  glTexSubImage1D( target, level, xoffset, width, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3805 3806 3807
  LEAVE_GL();
}

3808
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3809
 *              glTexSubImage2D (OPENGL32.@)
3810
 */
3811
void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
3812
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3813
  ENTER_GL();
3814
  glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3815 3816 3817
  LEAVE_GL();
}

3818
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3819
 *              glTexSubImage3D (OPENGL32.@)
3820
 */
3821
void WINAPI wine_glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* pixels ) {
3822
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3823
  ENTER_GL();
3824
  glTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3825 3826 3827
  LEAVE_GL();
}

3828
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3829
 *              glTranslated (OPENGL32.@)
3830
 */
3831
void WINAPI wine_glTranslated( GLdouble x, GLdouble y, GLdouble z ) {
3832
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3833
  ENTER_GL();
3834
  glTranslated( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3835 3836 3837
  LEAVE_GL();
}

3838
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3839
 *              glTranslatef (OPENGL32.@)
3840
 */
3841
void WINAPI wine_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) {
3842
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3843
  ENTER_GL();
3844
  glTranslatef( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3845 3846 3847
  LEAVE_GL();
}

3848
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3849
 *              glVertex2d (OPENGL32.@)
3850
 */
3851
void WINAPI wine_glVertex2d( GLdouble x, GLdouble y ) {
3852
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3853
  ENTER_GL();
3854
  glVertex2d( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3855 3856 3857
  LEAVE_GL();
}

3858
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3859
 *              glVertex2dv (OPENGL32.@)
3860
 */
3861
void WINAPI wine_glVertex2dv( GLdouble* v ) {
3862
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3863
  ENTER_GL();
3864
  glVertex2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3865 3866 3867
  LEAVE_GL();
}

3868
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3869
 *              glVertex2f (OPENGL32.@)
3870
 */
3871
void WINAPI wine_glVertex2f( GLfloat x, GLfloat y ) {
3872
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3873
  ENTER_GL();
3874
  glVertex2f( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3875 3876 3877
  LEAVE_GL();
}

3878
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3879
 *              glVertex2fv (OPENGL32.@)
3880
 */
3881
void WINAPI wine_glVertex2fv( GLfloat* v ) {
3882
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3883
  ENTER_GL();
3884
  glVertex2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3885 3886 3887
  LEAVE_GL();
}

3888
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3889
 *              glVertex2i (OPENGL32.@)
3890
 */
3891
void WINAPI wine_glVertex2i( GLint x, GLint y ) {
3892
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3893
  ENTER_GL();
3894
  glVertex2i( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3895 3896 3897
  LEAVE_GL();
}

3898
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3899
 *              glVertex2iv (OPENGL32.@)
3900
 */
3901
void WINAPI wine_glVertex2iv( GLint* v ) {
3902
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3903
  ENTER_GL();
3904
  glVertex2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3905 3906 3907
  LEAVE_GL();
}

3908
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3909
 *              glVertex2s (OPENGL32.@)
3910
 */
3911
void WINAPI wine_glVertex2s( GLshort x, GLshort y ) {
3912
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3913
  ENTER_GL();
3914
  glVertex2s( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3915 3916 3917
  LEAVE_GL();
}

3918
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3919
 *              glVertex2sv (OPENGL32.@)
3920
 */
3921
void WINAPI wine_glVertex2sv( GLshort* v ) {
3922
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3923
  ENTER_GL();
3924
  glVertex2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3925 3926 3927
  LEAVE_GL();
}

3928
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3929
 *              glVertex3d (OPENGL32.@)
3930
 */
3931
void WINAPI wine_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) {
3932
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3933
  ENTER_GL();
3934
  glVertex3d( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3935 3936 3937
  LEAVE_GL();
}

3938
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3939
 *              glVertex3dv (OPENGL32.@)
3940
 */
3941
void WINAPI wine_glVertex3dv( GLdouble* v ) {
3942
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3943
  ENTER_GL();
3944
  glVertex3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3945 3946 3947
  LEAVE_GL();
}

3948
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3949
 *              glVertex3f (OPENGL32.@)
3950
 */
3951
void WINAPI wine_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) {
3952
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3953
  ENTER_GL();
3954
  glVertex3f( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3955 3956 3957
  LEAVE_GL();
}

3958
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3959
 *              glVertex3fv (OPENGL32.@)
3960
 */
3961
void WINAPI wine_glVertex3fv( GLfloat* v ) {
3962
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3963
  ENTER_GL();
3964
  glVertex3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3965 3966 3967
  LEAVE_GL();
}

3968
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3969
 *              glVertex3i (OPENGL32.@)
3970
 */
3971
void WINAPI wine_glVertex3i( GLint x, GLint y, GLint z ) {
3972
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3973
  ENTER_GL();
3974
  glVertex3i( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3975 3976 3977
  LEAVE_GL();
}

3978
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3979
 *              glVertex3iv (OPENGL32.@)
3980
 */
3981
void WINAPI wine_glVertex3iv( GLint* v ) {
3982
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3983
  ENTER_GL();
3984
  glVertex3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3985 3986 3987
  LEAVE_GL();
}

3988
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3989
 *              glVertex3s (OPENGL32.@)
3990
 */
3991
void WINAPI wine_glVertex3s( GLshort x, GLshort y, GLshort z ) {
3992
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3993
  ENTER_GL();
3994
  glVertex3s( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3995 3996 3997
  LEAVE_GL();
}

3998
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3999
 *              glVertex3sv (OPENGL32.@)
4000
 */
4001
void WINAPI wine_glVertex3sv( GLshort* v ) {
4002
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4003
  ENTER_GL();
4004
  glVertex3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4005 4006 4007
  LEAVE_GL();
}

4008
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4009
 *              glVertex4d (OPENGL32.@)
4010
 */
4011
void WINAPI wine_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
4012
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4013
  ENTER_GL();
4014
  glVertex4d( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4015 4016 4017
  LEAVE_GL();
}

4018
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4019
 *              glVertex4dv (OPENGL32.@)
4020
 */
4021
void WINAPI wine_glVertex4dv( GLdouble* v ) {
4022
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4023
  ENTER_GL();
4024
  glVertex4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4025 4026 4027
  LEAVE_GL();
}

4028
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4029
 *              glVertex4f (OPENGL32.@)
4030
 */
4031
void WINAPI wine_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
4032
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4033
  ENTER_GL();
4034
  glVertex4f( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4035 4036 4037
  LEAVE_GL();
}

4038
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4039
 *              glVertex4fv (OPENGL32.@)
4040
 */
4041
void WINAPI wine_glVertex4fv( GLfloat* v ) {
4042
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4043
  ENTER_GL();
4044
  glVertex4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4045 4046 4047
  LEAVE_GL();
}

4048
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4049
 *              glVertex4i (OPENGL32.@)
4050
 */
4051
void WINAPI wine_glVertex4i( GLint x, GLint y, GLint z, GLint w ) {
4052
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4053
  ENTER_GL();
4054
  glVertex4i( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4055 4056 4057
  LEAVE_GL();
}

4058
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4059
 *              glVertex4iv (OPENGL32.@)
4060
 */
4061
void WINAPI wine_glVertex4iv( GLint* v ) {
4062
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4063
  ENTER_GL();
4064
  glVertex4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4065 4066 4067
  LEAVE_GL();
}

4068
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4069
 *              glVertex4s (OPENGL32.@)
4070
 */
4071
void WINAPI wine_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
4072
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4073
  ENTER_GL();
4074
  glVertex4s( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
4075 4076 4077
  LEAVE_GL();
}

4078
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4079
 *              glVertex4sv (OPENGL32.@)
4080
 */
4081
void WINAPI wine_glVertex4sv( GLshort* v ) {
4082
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4083
  ENTER_GL();
4084
  glVertex4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
4085 4086 4087
  LEAVE_GL();
}

4088
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4089
 *              glVertexPointer (OPENGL32.@)
4090
 */
4091
void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
4092
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
4093
  ENTER_GL();
4094
  glVertexPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
4095 4096 4097
  LEAVE_GL();
}

4098
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
4099
 *              glViewport (OPENGL32.@)
4100
 */
4101
void WINAPI wine_glViewport( GLint x, GLint y, GLsizei width, GLsizei height ) {
4102
  TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
4103
  ENTER_GL();
4104
  glViewport( x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
4105 4106 4107
  LEAVE_GL();
}