opengl_norm.c 92.7 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
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
9

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

20
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
21
 *              glAlphaFunc (OPENGL32.@)
22
 */
23
void WINAPI wine_glAlphaFunc( GLenum func, GLclampf ref ) {
24
  TRACE("(%d, %f)\n", func, ref );
Lionel Ulmer's avatar
Lionel Ulmer committed
25
  ENTER_GL();
26
  glAlphaFunc( func, ref );
Lionel Ulmer's avatar
Lionel Ulmer committed
27 28 29
  LEAVE_GL();
}

30
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
31
 *              glAreTexturesResident (OPENGL32.@)
32
 */
33 34
GLboolean WINAPI wine_glAreTexturesResident( GLsizei n, GLuint* textures, GLboolean* residences ) {
  GLboolean ret_value;
35
  TRACE("(%d, %p, %p)\n", n, textures, residences );
Lionel Ulmer's avatar
Lionel Ulmer committed
36
  ENTER_GL();
37
  ret_value = glAreTexturesResident( n, textures, residences );
Lionel Ulmer's avatar
Lionel Ulmer committed
38
  LEAVE_GL();
39
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
40 41
}

42
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
43
 *              glArrayElement (OPENGL32.@)
44
 */
45
void WINAPI wine_glArrayElement( GLint i ) {
46
  TRACE("(%d)\n", i );
Lionel Ulmer's avatar
Lionel Ulmer committed
47
  ENTER_GL();
48
  glArrayElement( i );
Lionel Ulmer's avatar
Lionel Ulmer committed
49 50 51
  LEAVE_GL();
}

52
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
53
 *              glBegin (OPENGL32.@)
54
 */
55
void WINAPI wine_glBegin( GLenum mode ) {
56
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
57
  ENTER_GL();
58
  glBegin( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
59 60 61
  LEAVE_GL();
}

62
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
63
 *              glBindTexture (OPENGL32.@)
64
 */
65
void WINAPI wine_glBindTexture( GLenum target, GLuint texture ) {
66
  TRACE("(%d, %d)\n", target, texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
67
  ENTER_GL();
68
  glBindTexture( target, texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
69 70 71
  LEAVE_GL();
}

72
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
73
 *              glBitmap (OPENGL32.@)
74
 */
75
void WINAPI wine_glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, GLubyte* bitmap ) {
76
  TRACE("(%d, %d, %f, %f, %f, %f, %p)\n", width, height, xorig, yorig, xmove, ymove, bitmap );
Lionel Ulmer's avatar
Lionel Ulmer committed
77
  ENTER_GL();
78
  glBitmap( width, height, xorig, yorig, xmove, ymove, bitmap );
Lionel Ulmer's avatar
Lionel Ulmer committed
79 80 81
  LEAVE_GL();
}

82
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
83
 *              glBlendFunc (OPENGL32.@)
84
 */
85
void WINAPI wine_glBlendFunc( GLenum sfactor, GLenum dfactor ) {
86
  TRACE("(%d, %d)\n", sfactor, dfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
87
  ENTER_GL();
88
  glBlendFunc( sfactor, dfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
89 90 91
  LEAVE_GL();
}

92
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
93
 *              glCallList (OPENGL32.@)
94
 */
95
void WINAPI wine_glCallList( GLuint list ) {
96
  TRACE("(%d)\n", list );
Lionel Ulmer's avatar
Lionel Ulmer committed
97
  ENTER_GL();
98
  glCallList( list );
Lionel Ulmer's avatar
Lionel Ulmer committed
99 100 101
  LEAVE_GL();
}

102
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
103
 *              glCallLists (OPENGL32.@)
104
 */
105
void WINAPI wine_glCallLists( GLsizei n, GLenum type, GLvoid* lists ) {
106
  TRACE("(%d, %d, %p)\n", n, type, lists );
Lionel Ulmer's avatar
Lionel Ulmer committed
107
  ENTER_GL();
108
  glCallLists( n, type, lists );
Lionel Ulmer's avatar
Lionel Ulmer committed
109 110 111
  LEAVE_GL();
}

112
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
113
 *              glClear (OPENGL32.@)
114
 */
115
void WINAPI wine_glClear( GLbitfield mask ) {
116
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
117
  ENTER_GL();
118
  glClear( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
119 120 121
  LEAVE_GL();
}

122
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
123
 *              glClearAccum (OPENGL32.@)
124
 */
125
void WINAPI wine_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
126
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
127
  ENTER_GL();
128
  glClearAccum( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
129 130 131
  LEAVE_GL();
}

132
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
133
 *              glClearColor (OPENGL32.@)
134
 */
135
void WINAPI wine_glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
136
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
137
  ENTER_GL();
138
  glClearColor( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
139 140 141
  LEAVE_GL();
}

142
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
143
 *              glClearDepth (OPENGL32.@)
144
 */
145
void WINAPI wine_glClearDepth( GLclampd depth ) {
146
  TRACE("(%f)\n", depth );
Lionel Ulmer's avatar
Lionel Ulmer committed
147
  ENTER_GL();
148
  glClearDepth( depth );
Lionel Ulmer's avatar
Lionel Ulmer committed
149 150 151
  LEAVE_GL();
}

152
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
153
 *              glClearIndex (OPENGL32.@)
154
 */
155
void WINAPI wine_glClearIndex( GLfloat c ) {
156
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
157
  ENTER_GL();
158
  glClearIndex( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
159 160 161
  LEAVE_GL();
}

162
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
163
 *              glClearStencil (OPENGL32.@)
164
 */
165
void WINAPI wine_glClearStencil( GLint s ) {
166
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
167
  ENTER_GL();
168
  glClearStencil( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
169 170 171
  LEAVE_GL();
}

172
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
173
 *              glClipPlane (OPENGL32.@)
174
 */
175
void WINAPI wine_glClipPlane( GLenum plane, GLdouble* equation ) {
176
  TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
177
  ENTER_GL();
178
  glClipPlane( plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
179 180 181
  LEAVE_GL();
}

182
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
183
 *              glColor3b (OPENGL32.@)
184
 */
185
void WINAPI wine_glColor3b( GLbyte red, GLbyte green, GLbyte blue ) {
186
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
187
  ENTER_GL();
188
  glColor3b( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
189 190 191
  LEAVE_GL();
}

192
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
193
 *              glColor3bv (OPENGL32.@)
194
 */
195
void WINAPI wine_glColor3bv( GLbyte* v ) {
196
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
197
  ENTER_GL();
198
  glColor3bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
199 200 201
  LEAVE_GL();
}

202
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
203
 *              glColor3d (OPENGL32.@)
204
 */
205
void WINAPI wine_glColor3d( GLdouble red, GLdouble green, GLdouble blue ) {
206
  TRACE("(%f, %f, %f)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
207
  ENTER_GL();
208
  glColor3d( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
209 210 211
  LEAVE_GL();
}

212
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
213
 *              glColor3dv (OPENGL32.@)
214
 */
215
void WINAPI wine_glColor3dv( GLdouble* v ) {
216
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
217
  ENTER_GL();
218
  glColor3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
219 220 221
  LEAVE_GL();
}

222
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
223
 *              glColor3f (OPENGL32.@)
224
 */
225
void WINAPI wine_glColor3f( GLfloat red, GLfloat green, GLfloat blue ) {
226
  TRACE("(%f, %f, %f)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
227
  ENTER_GL();
228
  glColor3f( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
229 230 231
  LEAVE_GL();
}

232
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
233
 *              glColor3fv (OPENGL32.@)
234
 */
235
void WINAPI wine_glColor3fv( GLfloat* v ) {
236
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
237
  ENTER_GL();
238
  glColor3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
239 240 241
  LEAVE_GL();
}

242
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
243
 *              glColor3i (OPENGL32.@)
244
 */
245
void WINAPI wine_glColor3i( GLint red, GLint green, GLint blue ) {
246
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
247
  ENTER_GL();
248
  glColor3i( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
249 250 251
  LEAVE_GL();
}

252
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
253
 *              glColor3iv (OPENGL32.@)
254
 */
255
void WINAPI wine_glColor3iv( GLint* v ) {
256
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
257
  ENTER_GL();
258
  glColor3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
259 260 261
  LEAVE_GL();
}

262
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
263
 *              glColor3s (OPENGL32.@)
264
 */
265
void WINAPI wine_glColor3s( GLshort red, GLshort green, GLshort blue ) {
266
  TRACE("(%d, %d, %d)\n", red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
267
  ENTER_GL();
268
  glColor3s( red, green, blue );
Lionel Ulmer's avatar
Lionel Ulmer committed
269 270 271
  LEAVE_GL();
}

272
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
273
 *              glColor3sv (OPENGL32.@)
274
 */
275
void WINAPI wine_glColor3sv( GLshort* v ) {
276
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
277
  ENTER_GL();
278
  glColor3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
279 280 281
  LEAVE_GL();
}

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

292
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
293
 *              glColor3ubv (OPENGL32.@)
294
 */
295
void WINAPI wine_glColor3ubv( GLubyte* v ) {
296
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
297
  ENTER_GL();
298
  glColor3ubv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
299 300 301
  LEAVE_GL();
}

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

312
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
313
 *              glColor3uiv (OPENGL32.@)
314
 */
315
void WINAPI wine_glColor3uiv( GLuint* v ) {
316
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
317
  ENTER_GL();
318
  glColor3uiv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
319 320 321
  LEAVE_GL();
}

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

332
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
333
 *              glColor3usv (OPENGL32.@)
334
 */
335
void WINAPI wine_glColor3usv( GLushort* v ) {
336
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
337
  ENTER_GL();
338
  glColor3usv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
339 340 341
  LEAVE_GL();
}

342
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
343
 *              glColor4b (OPENGL32.@)
344
 */
345
void WINAPI wine_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) {
346
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
347
  ENTER_GL();
348
  glColor4b( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
349 350 351
  LEAVE_GL();
}

352
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
353
 *              glColor4bv (OPENGL32.@)
354
 */
355
void WINAPI wine_glColor4bv( GLbyte* v ) {
356
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
357
  ENTER_GL();
358
  glColor4bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
359 360 361
  LEAVE_GL();
}

362
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
363
 *              glColor4d (OPENGL32.@)
364
 */
365
void WINAPI wine_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) {
366
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
367
  ENTER_GL();
368
  glColor4d( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
369 370 371
  LEAVE_GL();
}

372
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
373
 *              glColor4dv (OPENGL32.@)
374
 */
375
void WINAPI wine_glColor4dv( GLdouble* v ) {
376
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
377
  ENTER_GL();
378
  glColor4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
379 380 381
  LEAVE_GL();
}

382
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
383
 *              glColor4f (OPENGL32.@)
384
 */
385
void WINAPI wine_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
386
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
387
  ENTER_GL();
388
  glColor4f( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
389 390 391
  LEAVE_GL();
}

392
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
393
 *              glColor4fv (OPENGL32.@)
394
 */
395
void WINAPI wine_glColor4fv( GLfloat* v ) {
396
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
397
  ENTER_GL();
398
  glColor4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
399 400 401
  LEAVE_GL();
}

402
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
403
 *              glColor4i (OPENGL32.@)
404
 */
405
void WINAPI wine_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) {
406
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
407
  ENTER_GL();
408
  glColor4i( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
409 410 411
  LEAVE_GL();
}

412
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
413
 *              glColor4iv (OPENGL32.@)
414
 */
415
void WINAPI wine_glColor4iv( GLint* v ) {
416
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
417
  ENTER_GL();
418
  glColor4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
419 420 421
  LEAVE_GL();
}

422
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
423
 *              glColor4s (OPENGL32.@)
424
 */
425
void WINAPI wine_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ) {
426
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
427
  ENTER_GL();
428
  glColor4s( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
429 430 431
  LEAVE_GL();
}

432
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
433
 *              glColor4sv (OPENGL32.@)
434
 */
435
void WINAPI wine_glColor4sv( GLshort* v ) {
436
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
437
  ENTER_GL();
438
  glColor4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
439 440 441
  LEAVE_GL();
}

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

452
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
453
 *              glColor4ubv (OPENGL32.@)
454
 */
455
void WINAPI wine_glColor4ubv( GLubyte* v ) {
456
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
457
  ENTER_GL();
458
  glColor4ubv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
459 460 461
  LEAVE_GL();
}

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

472
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
473
 *              glColor4uiv (OPENGL32.@)
474
 */
475
void WINAPI wine_glColor4uiv( GLuint* v ) {
476
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
477
  ENTER_GL();
478
  glColor4uiv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
479 480 481
  LEAVE_GL();
}

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

492
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
493
 *              glColor4usv (OPENGL32.@)
494
 */
495
void WINAPI wine_glColor4usv( GLushort* v ) {
496
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
497
  ENTER_GL();
498
  glColor4usv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
499 500 501
  LEAVE_GL();
}

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

512
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
513
 *              glColorMaterial (OPENGL32.@)
514
 */
515
void WINAPI wine_glColorMaterial( GLenum face, GLenum mode ) {
516
  TRACE("(%d, %d)\n", face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
517
  ENTER_GL();
518
  glColorMaterial( face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
519 520 521
  LEAVE_GL();
}

522
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
523
 *              glColorPointer (OPENGL32.@)
524
 */
525
void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
526
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
527
  ENTER_GL();
528
  glColorPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
529 530 531
  LEAVE_GL();
}

532
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
533
 *              glCopyPixels (OPENGL32.@)
534
 */
535
void WINAPI wine_glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ) {
536
  TRACE("(%d, %d, %d, %d, %d)\n", x, y, width, height, type );
Lionel Ulmer's avatar
Lionel Ulmer committed
537
  ENTER_GL();
538
  glCopyPixels( x, y, width, height, type );
Lionel Ulmer's avatar
Lionel Ulmer committed
539 540 541
  LEAVE_GL();
}

542
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
543
 *              glCopyTexImage1D (OPENGL32.@)
544
 */
545
void WINAPI wine_glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ) {
546
  TRACE("(%d, %d, %d, %d, %d, %d, %d)\n", target, level, internalformat, x, y, width, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
547
  ENTER_GL();
548
  glCopyTexImage1D( target, level, internalformat, x, y, width, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
549 550 551
  LEAVE_GL();
}

552
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
553
 *              glCopyTexImage2D (OPENGL32.@)
554
 */
555
void WINAPI wine_glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) {
556
  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
557
  ENTER_GL();
558
  glCopyTexImage2D( target, level, internalformat, x, y, width, height, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
559 560 561
  LEAVE_GL();
}

562
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
563
 *              glCopyTexSubImage1D (OPENGL32.@)
564
 */
565
void WINAPI wine_glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ) {
566
  TRACE("(%d, %d, %d, %d, %d, %d)\n", target, level, xoffset, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
567
  ENTER_GL();
568
  glCopyTexSubImage1D( target, level, xoffset, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
569 570 571
  LEAVE_GL();
}

572
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
573
 *              glCopyTexSubImage2D (OPENGL32.@)
574
 */
575
void WINAPI wine_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
576
  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
577
  ENTER_GL();
578
  glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
579 580 581
  LEAVE_GL();
}

582
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
583
 *              glCullFace (OPENGL32.@)
584
 */
585
void WINAPI wine_glCullFace( GLenum mode ) {
586
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
587
  ENTER_GL();
588
  glCullFace( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
589 590 591
  LEAVE_GL();
}

592
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
593
 *              glDeleteLists (OPENGL32.@)
594
 */
595
void WINAPI wine_glDeleteLists( GLuint list, GLsizei range ) {
596
  TRACE("(%d, %d)\n", list, range );
Lionel Ulmer's avatar
Lionel Ulmer committed
597
  ENTER_GL();
598
  glDeleteLists( list, range );
Lionel Ulmer's avatar
Lionel Ulmer committed
599 600 601
  LEAVE_GL();
}

602
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
603
 *              glDeleteTextures (OPENGL32.@)
604
 */
605
void WINAPI wine_glDeleteTextures( GLsizei n, GLuint* textures ) {
606
  TRACE("(%d, %p)\n", n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
607
  ENTER_GL();
608
  glDeleteTextures( n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
609 610 611
  LEAVE_GL();
}

612
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
613
 *              glDepthFunc (OPENGL32.@)
614
 */
615
void WINAPI wine_glDepthFunc( GLenum func ) {
616
  TRACE("(%d)\n", func );
Lionel Ulmer's avatar
Lionel Ulmer committed
617
  ENTER_GL();
618
  glDepthFunc( func );
Lionel Ulmer's avatar
Lionel Ulmer committed
619 620 621
  LEAVE_GL();
}

622
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
623
 *              glDepthMask (OPENGL32.@)
624
 */
625
void WINAPI wine_glDepthMask( GLboolean flag ) {
626
  TRACE("(%d)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
627
  ENTER_GL();
628
  glDepthMask( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
629 630 631
  LEAVE_GL();
}

632
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
633
 *              glDepthRange (OPENGL32.@)
634
 */
635 636
void WINAPI wine_glDepthRange( GLclampd nearParam, GLclampd farParam ) {
  TRACE("(%f, %f)\n", nearParam, farParam );
Lionel Ulmer's avatar
Lionel Ulmer committed
637
  ENTER_GL();
638
  glDepthRange( nearParam, farParam );
Lionel Ulmer's avatar
Lionel Ulmer committed
639 640 641
  LEAVE_GL();
}

642 643 644 645 646 647 648 649 650 651
/***********************************************************************
 *              glDisable (OPENGL32.@)
 */
void WINAPI wine_glDisable( GLenum cap ) {
  TRACE("(%d)\n", cap );
  ENTER_GL();
  glDisable( cap );
  LEAVE_GL();
}

652
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
653
 *              glDisableClientState (OPENGL32.@)
654
 */
655
void WINAPI wine_glDisableClientState( GLenum array ) {
656
  TRACE("(%d)\n", array );
Lionel Ulmer's avatar
Lionel Ulmer committed
657
  ENTER_GL();
658
  glDisableClientState( array );
Lionel Ulmer's avatar
Lionel Ulmer committed
659 660 661
  LEAVE_GL();
}

662
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
663
 *              glDrawArrays (OPENGL32.@)
664
 */
665
void WINAPI wine_glDrawArrays( GLenum mode, GLint first, GLsizei count ) {
666
  TRACE("(%d, %d, %d)\n", mode, first, count );
Lionel Ulmer's avatar
Lionel Ulmer committed
667
  ENTER_GL();
668
  glDrawArrays( mode, first, count );
Lionel Ulmer's avatar
Lionel Ulmer committed
669 670 671
  LEAVE_GL();
}

672
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
673
 *              glDrawBuffer (OPENGL32.@)
674
 */
675
void WINAPI wine_glDrawBuffer( GLenum mode ) {
676
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
677
  ENTER_GL();
678
  glDrawBuffer( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
679 680 681
  LEAVE_GL();
}

682
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
683
 *              glDrawElements (OPENGL32.@)
684
 */
685
void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, GLvoid* indices ) {
686
  TRACE("(%d, %d, %d, %p)\n", mode, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
687
  ENTER_GL();
688
  glDrawElements( mode, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
689 690 691
  LEAVE_GL();
}

692
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
693
 *              glDrawPixels (OPENGL32.@)
694
 */
695
void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
696
  TRACE("(%d, %d, %d, %d, %p)\n", width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
697
  ENTER_GL();
698
  glDrawPixels( width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
699 700 701
  LEAVE_GL();
}

702
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
703
 *              glEdgeFlag (OPENGL32.@)
704
 */
705
void WINAPI wine_glEdgeFlag( GLboolean flag ) {
706
  TRACE("(%d)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
707
  ENTER_GL();
708
  glEdgeFlag( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
709 710 711
  LEAVE_GL();
}

712
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
713
 *              glEdgeFlagPointer (OPENGL32.@)
714
 */
715
void WINAPI wine_glEdgeFlagPointer( GLsizei stride, GLvoid* pointer ) {
716
  TRACE("(%d, %p)\n", stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
717
  ENTER_GL();
718
  glEdgeFlagPointer( stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
719 720 721
  LEAVE_GL();
}

722
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
723
 *              glEdgeFlagv (OPENGL32.@)
724
 */
725
void WINAPI wine_glEdgeFlagv( GLboolean* flag ) {
726
  TRACE("(%p)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
727
  ENTER_GL();
728
  glEdgeFlagv( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
729 730 731
  LEAVE_GL();
}

732 733 734 735 736 737 738 739 740 741
/***********************************************************************
 *              glEnable (OPENGL32.@)
 */
void WINAPI wine_glEnable( GLenum cap ) {
  TRACE("(%d)\n", cap );
  ENTER_GL();
  glEnable( cap );
  LEAVE_GL();
}

742
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
743
 *              glEnableClientState (OPENGL32.@)
744
 */
745
void WINAPI wine_glEnableClientState( GLenum array ) {
746
  TRACE("(%d)\n", array );
Lionel Ulmer's avatar
Lionel Ulmer committed
747
  ENTER_GL();
748
  glEnableClientState( array );
Lionel Ulmer's avatar
Lionel Ulmer committed
749 750 751
  LEAVE_GL();
}

752
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
753
 *              glEnd (OPENGL32.@)
754
 */
755
void WINAPI wine_glEnd( void ) {
756
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
757
  ENTER_GL();
758
  glEnd( );
Lionel Ulmer's avatar
Lionel Ulmer committed
759 760 761
  LEAVE_GL();
}

762
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
763
 *              glEndList (OPENGL32.@)
764
 */
765
void WINAPI wine_glEndList( void ) {
766
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
767
  ENTER_GL();
768
  glEndList( );
Lionel Ulmer's avatar
Lionel Ulmer committed
769 770 771
  LEAVE_GL();
}

772
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
773
 *              glEvalCoord1d (OPENGL32.@)
774
 */
775
void WINAPI wine_glEvalCoord1d( GLdouble u ) {
776
  TRACE("(%f)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
777
  ENTER_GL();
778
  glEvalCoord1d( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
779 780 781
  LEAVE_GL();
}

782
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
783
 *              glEvalCoord1dv (OPENGL32.@)
784
 */
785
void WINAPI wine_glEvalCoord1dv( GLdouble* u ) {
786
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
787
  ENTER_GL();
788
  glEvalCoord1dv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
789 790 791
  LEAVE_GL();
}

792
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
793
 *              glEvalCoord1f (OPENGL32.@)
794
 */
795
void WINAPI wine_glEvalCoord1f( GLfloat u ) {
796
  TRACE("(%f)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
797
  ENTER_GL();
798
  glEvalCoord1f( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
799 800 801
  LEAVE_GL();
}

802
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
803
 *              glEvalCoord1fv (OPENGL32.@)
804
 */
805
void WINAPI wine_glEvalCoord1fv( GLfloat* u ) {
806
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
807
  ENTER_GL();
808
  glEvalCoord1fv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
809 810 811
  LEAVE_GL();
}

812
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
813
 *              glEvalCoord2d (OPENGL32.@)
814
 */
815
void WINAPI wine_glEvalCoord2d( GLdouble u, GLdouble v ) {
816
  TRACE("(%f, %f)\n", u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
817
  ENTER_GL();
818
  glEvalCoord2d( u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
819 820 821
  LEAVE_GL();
}

822
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
823
 *              glEvalCoord2dv (OPENGL32.@)
824
 */
825
void WINAPI wine_glEvalCoord2dv( GLdouble* u ) {
826
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
827
  ENTER_GL();
828
  glEvalCoord2dv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
829 830 831
  LEAVE_GL();
}

832
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
833
 *              glEvalCoord2f (OPENGL32.@)
834
 */
835
void WINAPI wine_glEvalCoord2f( GLfloat u, GLfloat v ) {
836
  TRACE("(%f, %f)\n", u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
837
  ENTER_GL();
838
  glEvalCoord2f( u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
839 840 841
  LEAVE_GL();
}

842
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
843
 *              glEvalCoord2fv (OPENGL32.@)
844
 */
845
void WINAPI wine_glEvalCoord2fv( GLfloat* u ) {
846
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
847
  ENTER_GL();
848
  glEvalCoord2fv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
849 850 851
  LEAVE_GL();
}

852
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
853
 *              glEvalMesh1 (OPENGL32.@)
854
 */
855
void WINAPI wine_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) {
856
  TRACE("(%d, %d, %d)\n", mode, i1, i2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
857
  ENTER_GL();
858
  glEvalMesh1( mode, i1, i2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
859 860 861
  LEAVE_GL();
}

862
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
863
 *              glEvalMesh2 (OPENGL32.@)
864
 */
865
void WINAPI wine_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ) {
866
  TRACE("(%d, %d, %d, %d, %d)\n", mode, i1, i2, j1, j2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
867
  ENTER_GL();
868
  glEvalMesh2( mode, i1, i2, j1, j2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
869 870 871
  LEAVE_GL();
}

872
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
873
 *              glEvalPoint1 (OPENGL32.@)
874
 */
875
void WINAPI wine_glEvalPoint1( GLint i ) {
876
  TRACE("(%d)\n", i );
Lionel Ulmer's avatar
Lionel Ulmer committed
877
  ENTER_GL();
878
  glEvalPoint1( i );
Lionel Ulmer's avatar
Lionel Ulmer committed
879 880 881
  LEAVE_GL();
}

882
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
883
 *              glEvalPoint2 (OPENGL32.@)
884
 */
885
void WINAPI wine_glEvalPoint2( GLint i, GLint j ) {
886
  TRACE("(%d, %d)\n", i, j );
Lionel Ulmer's avatar
Lionel Ulmer committed
887
  ENTER_GL();
888
  glEvalPoint2( i, j );
Lionel Ulmer's avatar
Lionel Ulmer committed
889 890 891
  LEAVE_GL();
}

892
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
893
 *              glFeedbackBuffer (OPENGL32.@)
894
 */
895
void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) {
896
  TRACE("(%d, %d, %p)\n", size, type, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
897
  ENTER_GL();
898
  glFeedbackBuffer( size, type, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
899 900 901
  LEAVE_GL();
}

902
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
903
 *              glFogf (OPENGL32.@)
904
 */
905
void WINAPI wine_glFogf( GLenum pname, GLfloat param ) {
906
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
907
  ENTER_GL();
908
  glFogf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
909 910 911
  LEAVE_GL();
}

912
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
913
 *              glFogfv (OPENGL32.@)
914
 */
915
void WINAPI wine_glFogfv( GLenum pname, GLfloat* params ) {
916
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
917
  ENTER_GL();
918
  glFogfv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
919 920 921
  LEAVE_GL();
}

922
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
923
 *              glFogi (OPENGL32.@)
924
 */
925
void WINAPI wine_glFogi( GLenum pname, GLint param ) {
926
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
927
  ENTER_GL();
928
  glFogi( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
929 930 931
  LEAVE_GL();
}

932
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
933
 *              glFogiv (OPENGL32.@)
934
 */
935
void WINAPI wine_glFogiv( GLenum pname, GLint* params ) {
936
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
937
  ENTER_GL();
938
  glFogiv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
939 940 941
  LEAVE_GL();
}

942
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
943
 *              glFrontFace (OPENGL32.@)
944
 */
945
void WINAPI wine_glFrontFace( GLenum mode ) {
946
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
947
  ENTER_GL();
948
  glFrontFace( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
949 950 951
  LEAVE_GL();
}

952
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
953
 *              glFrustum (OPENGL32.@)
954
 */
955
void WINAPI wine_glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
956
  TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
957
  ENTER_GL();
958
  glFrustum( left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
959 960 961
  LEAVE_GL();
}

962
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
963
 *              glGenLists (OPENGL32.@)
964
 */
965 966
GLuint WINAPI wine_glGenLists( GLsizei range ) {
  GLuint ret_value;
967
  TRACE("(%d)\n", range );
Lionel Ulmer's avatar
Lionel Ulmer committed
968
  ENTER_GL();
969
  ret_value = glGenLists( range );
Lionel Ulmer's avatar
Lionel Ulmer committed
970
  LEAVE_GL();
971
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
972 973
}

974
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
975
 *              glGenTextures (OPENGL32.@)
976
 */
977
void WINAPI wine_glGenTextures( GLsizei n, GLuint* textures ) {
978
  TRACE("(%d, %p)\n", n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
979
  ENTER_GL();
980
  glGenTextures( n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
981 982 983
  LEAVE_GL();
}

984
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
985
 *              glGetBooleanv (OPENGL32.@)
986
 */
987
void WINAPI wine_glGetBooleanv( GLenum pname, GLboolean* params ) {
988
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
989
  ENTER_GL();
990
  glGetBooleanv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
991 992 993
  LEAVE_GL();
}

994
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
995
 *              glGetClipPlane (OPENGL32.@)
996
 */
997
void WINAPI wine_glGetClipPlane( GLenum plane, GLdouble* equation ) {
998
  TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
999
  ENTER_GL();
1000
  glGetClipPlane( plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
1001 1002 1003
  LEAVE_GL();
}

1004
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1005
 *              glGetDoublev (OPENGL32.@)
1006
 */
1007
void WINAPI wine_glGetDoublev( GLenum pname, GLdouble* params ) {
1008
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1009
  ENTER_GL();
1010
  glGetDoublev( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1011 1012 1013
  LEAVE_GL();
}

1014
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1015
 *              glGetError (OPENGL32.@)
1016
 */
1017
GLenum WINAPI wine_glGetError( void ) {
1018
  GLenum ret_value;
1019
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1020
  ENTER_GL();
1021
  ret_value = glGetError( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1022
  LEAVE_GL();
1023
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1024 1025
}

1026
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1027
 *              glGetFloatv (OPENGL32.@)
1028
 */
1029
void WINAPI wine_glGetFloatv( GLenum pname, GLfloat* params ) {
1030
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1031
  ENTER_GL();
1032
  glGetFloatv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1033 1034 1035
  LEAVE_GL();
}

1036
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1037
 *              glGetLightfv (OPENGL32.@)
1038
 */
1039
void WINAPI wine_glGetLightfv( GLenum light, GLenum pname, GLfloat* params ) {
1040
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1041
  ENTER_GL();
1042
  glGetLightfv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1043 1044 1045
  LEAVE_GL();
}

1046
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1047
 *              glGetLightiv (OPENGL32.@)
1048
 */
1049
void WINAPI wine_glGetLightiv( GLenum light, GLenum pname, GLint* params ) {
1050
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1051
  ENTER_GL();
1052
  glGetLightiv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1053 1054 1055
  LEAVE_GL();
}

1056
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1057
 *              glGetMapdv (OPENGL32.@)
1058
 */
1059
void WINAPI wine_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) {
1060
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1061
  ENTER_GL();
1062
  glGetMapdv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1063 1064 1065
  LEAVE_GL();
}

1066
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1067
 *              glGetMapfv (OPENGL32.@)
1068
 */
1069
void WINAPI wine_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) {
1070
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1071
  ENTER_GL();
1072
  glGetMapfv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1073 1074 1075
  LEAVE_GL();
}

1076
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1077
 *              glGetMapiv (OPENGL32.@)
1078
 */
1079
void WINAPI wine_glGetMapiv( GLenum target, GLenum query, GLint* v ) {
1080
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1081
  ENTER_GL();
1082
  glGetMapiv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1083 1084 1085
  LEAVE_GL();
}

1086
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1087
 *              glGetMaterialfv (OPENGL32.@)
1088
 */
1089
void WINAPI wine_glGetMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
1090
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1091
  ENTER_GL();
1092
  glGetMaterialfv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1093 1094 1095
  LEAVE_GL();
}

1096
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1097
 *              glGetMaterialiv (OPENGL32.@)
1098
 */
1099
void WINAPI wine_glGetMaterialiv( GLenum face, GLenum pname, GLint* params ) {
1100
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1101
  ENTER_GL();
1102
  glGetMaterialiv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1103 1104 1105
  LEAVE_GL();
}

1106
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1107
 *              glGetPixelMapfv (OPENGL32.@)
1108
 */
1109
void WINAPI wine_glGetPixelMapfv( GLenum map, GLfloat* values ) {
1110
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1111
  ENTER_GL();
1112
  glGetPixelMapfv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1113 1114 1115
  LEAVE_GL();
}

1116
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1117
 *              glGetPixelMapuiv (OPENGL32.@)
1118
 */
1119
void WINAPI wine_glGetPixelMapuiv( GLenum map, GLuint* values ) {
1120
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1121
  ENTER_GL();
1122
  glGetPixelMapuiv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1123 1124 1125
  LEAVE_GL();
}

1126
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1127
 *              glGetPixelMapusv (OPENGL32.@)
1128
 */
1129
void WINAPI wine_glGetPixelMapusv( GLenum map, GLushort* values ) {
1130
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1131
  ENTER_GL();
1132
  glGetPixelMapusv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1133 1134 1135
  LEAVE_GL();
}

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

1146
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1147
 *              glGetPolygonStipple (OPENGL32.@)
1148
 */
1149
void WINAPI wine_glGetPolygonStipple( GLubyte* mask ) {
1150
  TRACE("(%p)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1151
  ENTER_GL();
1152
  glGetPolygonStipple( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1153 1154 1155
  LEAVE_GL();
}

1156
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1157
 *              glGetTexEnvfv (OPENGL32.@)
1158
 */
1159
void WINAPI wine_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
1160
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1161
  ENTER_GL();
1162
  glGetTexEnvfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1163 1164 1165
  LEAVE_GL();
}

1166
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1167
 *              glGetTexEnviv (OPENGL32.@)
1168
 */
1169
void WINAPI wine_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) {
1170
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1171
  ENTER_GL();
1172
  glGetTexEnviv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1173 1174 1175
  LEAVE_GL();
}

1176
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1177
 *              glGetTexGendv (OPENGL32.@)
1178
 */
1179
void WINAPI wine_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
1180
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1181
  ENTER_GL();
1182
  glGetTexGendv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1183 1184 1185
  LEAVE_GL();
}

1186
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1187
 *              glGetTexGenfv (OPENGL32.@)
1188
 */
1189
void WINAPI wine_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
1190
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1191
  ENTER_GL();
1192
  glGetTexGenfv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1193 1194 1195
  LEAVE_GL();
}

1196
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1197
 *              glGetTexGeniv (OPENGL32.@)
1198
 */
1199
void WINAPI wine_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
1200
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1201
  ENTER_GL();
1202
  glGetTexGeniv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1203 1204 1205
  LEAVE_GL();
}

1206
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1207
 *              glGetTexImage (OPENGL32.@)
1208
 */
1209
void WINAPI wine_glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) {
1210
  TRACE("(%d, %d, %d, %d, %p)\n", target, level, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
1211
  ENTER_GL();
1212
  glGetTexImage( target, level, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
1213 1214 1215
  LEAVE_GL();
}

1216
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1217
 *              glGetTexLevelParameterfv (OPENGL32.@)
1218
 */
1219
void WINAPI wine_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat* params ) {
1220
  TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1221
  ENTER_GL();
1222
  glGetTexLevelParameterfv( target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1223 1224 1225
  LEAVE_GL();
}

1226
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1227
 *              glGetTexLevelParameteriv (OPENGL32.@)
1228
 */
1229
void WINAPI wine_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint* params ) {
1230
  TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1231
  ENTER_GL();
1232
  glGetTexLevelParameteriv( target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1233 1234 1235
  LEAVE_GL();
}

1236
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1237
 *              glGetTexParameterfv (OPENGL32.@)
1238
 */
1239
void WINAPI wine_glGetTexParameterfv( 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
  glGetTexParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1243 1244 1245
  LEAVE_GL();
}

1246
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1247
 *              glGetTexParameteriv (OPENGL32.@)
1248
 */
1249
void WINAPI wine_glGetTexParameteriv( 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
  glGetTexParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1253 1254 1255
  LEAVE_GL();
}

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

1266
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1267
 *              glIndexMask (OPENGL32.@)
1268
 */
1269
void WINAPI wine_glIndexMask( GLuint mask ) {
1270
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1271
  ENTER_GL();
1272
  glIndexMask( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1273 1274 1275
  LEAVE_GL();
}

1276
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1277
 *              glIndexPointer (OPENGL32.@)
1278
 */
1279
void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
1280
  TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1281
  ENTER_GL();
1282
  glIndexPointer( type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1283 1284 1285
  LEAVE_GL();
}

1286
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1287
 *              glIndexd (OPENGL32.@)
1288
 */
1289
void WINAPI wine_glIndexd( GLdouble c ) {
1290
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1291
  ENTER_GL();
1292
  glIndexd( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1293 1294 1295
  LEAVE_GL();
}

1296
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1297
 *              glIndexdv (OPENGL32.@)
1298
 */
1299
void WINAPI wine_glIndexdv( GLdouble* c ) {
1300
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1301
  ENTER_GL();
1302
  glIndexdv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1303 1304 1305
  LEAVE_GL();
}

1306
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1307
 *              glIndexf (OPENGL32.@)
1308
 */
1309
void WINAPI wine_glIndexf( GLfloat c ) {
1310
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1311
  ENTER_GL();
1312
  glIndexf( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1313 1314 1315
  LEAVE_GL();
}

1316
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1317
 *              glIndexfv (OPENGL32.@)
1318
 */
1319
void WINAPI wine_glIndexfv( GLfloat* c ) {
1320
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1321
  ENTER_GL();
1322
  glIndexfv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1323 1324 1325
  LEAVE_GL();
}

1326
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1327
 *              glIndexi (OPENGL32.@)
1328
 */
1329
void WINAPI wine_glIndexi( GLint c ) {
1330
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1331
  ENTER_GL();
1332
  glIndexi( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1333 1334 1335
  LEAVE_GL();
}

1336
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1337
 *              glIndexiv (OPENGL32.@)
1338
 */
1339
void WINAPI wine_glIndexiv( GLint* c ) {
1340
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1341
  ENTER_GL();
1342
  glIndexiv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1343 1344 1345
  LEAVE_GL();
}

1346
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1347
 *              glIndexs (OPENGL32.@)
1348
 */
1349
void WINAPI wine_glIndexs( GLshort c ) {
1350
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1351
  ENTER_GL();
1352
  glIndexs( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1353 1354 1355
  LEAVE_GL();
}

1356
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1357
 *              glIndexsv (OPENGL32.@)
1358
 */
1359
void WINAPI wine_glIndexsv( GLshort* c ) {
1360
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1361
  ENTER_GL();
1362
  glIndexsv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1363 1364 1365
  LEAVE_GL();
}

1366
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1367
 *              glIndexub (OPENGL32.@)
1368
 */
1369
void WINAPI wine_glIndexub( GLubyte c ) {
1370
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1371
  ENTER_GL();
1372
  glIndexub( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1373 1374 1375
  LEAVE_GL();
}

1376
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1377
 *              glIndexubv (OPENGL32.@)
1378
 */
1379
void WINAPI wine_glIndexubv( GLubyte* c ) {
1380
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1381
  ENTER_GL();
1382
  glIndexubv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1383 1384 1385
  LEAVE_GL();
}

1386
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1387
 *              glInitNames (OPENGL32.@)
1388
 */
1389
void WINAPI wine_glInitNames( void ) {
1390
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1391
  ENTER_GL();
1392
  glInitNames( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1393 1394 1395
  LEAVE_GL();
}

1396
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1397
 *              glInterleavedArrays (OPENGL32.@)
1398
 */
1399
void WINAPI wine_glInterleavedArrays( GLenum format, GLsizei stride, GLvoid* pointer ) {
1400
  TRACE("(%d, %d, %p)\n", format, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1401
  ENTER_GL();
1402
  glInterleavedArrays( format, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1403 1404 1405
  LEAVE_GL();
}

1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
/***********************************************************************
 *              glIsEnabled (OPENGL32.@)
 */
GLboolean WINAPI wine_glIsEnabled( GLenum cap ) {
  GLboolean ret_value;
  TRACE("(%d)\n", cap );
  ENTER_GL();
  ret_value = glIsEnabled( cap );
  LEAVE_GL();
  return ret_value;
}

1418
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1419
 *              glIsList (OPENGL32.@)
1420
 */
1421 1422
GLboolean WINAPI wine_glIsList( GLuint list ) {
  GLboolean ret_value;
1423
  TRACE("(%d)\n", list );
Lionel Ulmer's avatar
Lionel Ulmer committed
1424
  ENTER_GL();
1425
  ret_value = glIsList( list );
Lionel Ulmer's avatar
Lionel Ulmer committed
1426
  LEAVE_GL();
1427
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1428 1429
}

1430
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1431
 *              glIsTexture (OPENGL32.@)
1432
 */
1433 1434
GLboolean WINAPI wine_glIsTexture( GLuint texture ) {
  GLboolean ret_value;
1435
  TRACE("(%d)\n", texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
1436
  ENTER_GL();
1437
  ret_value = glIsTexture( texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
1438
  LEAVE_GL();
1439
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1440 1441
}

1442
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1443
 *              glLightModelf (OPENGL32.@)
1444
 */
1445
void WINAPI wine_glLightModelf( GLenum pname, GLfloat param ) {
1446
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1447
  ENTER_GL();
1448
  glLightModelf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1449 1450 1451
  LEAVE_GL();
}

1452
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1453
 *              glLightModelfv (OPENGL32.@)
1454
 */
1455
void WINAPI wine_glLightModelfv( GLenum pname, GLfloat* params ) {
1456
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1457
  ENTER_GL();
1458
  glLightModelfv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1459 1460 1461
  LEAVE_GL();
}

1462
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1463
 *              glLightModeli (OPENGL32.@)
1464
 */
1465
void WINAPI wine_glLightModeli( GLenum pname, GLint param ) {
1466
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1467
  ENTER_GL();
1468
  glLightModeli( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1469 1470 1471
  LEAVE_GL();
}

1472
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1473
 *              glLightModeliv (OPENGL32.@)
1474
 */
1475
void WINAPI wine_glLightModeliv( GLenum pname, GLint* params ) {
1476
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1477
  ENTER_GL();
1478
  glLightModeliv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1479 1480 1481
  LEAVE_GL();
}

1482
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1483
 *              glLightf (OPENGL32.@)
1484
 */
1485
void WINAPI wine_glLightf( GLenum light, GLenum pname, GLfloat param ) {
1486
  TRACE("(%d, %d, %f)\n", light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1487
  ENTER_GL();
1488
  glLightf( light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1489 1490 1491
  LEAVE_GL();
}

1492
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1493
 *              glLightfv (OPENGL32.@)
1494
 */
1495
void WINAPI wine_glLightfv( GLenum light, GLenum pname, GLfloat* params ) {
1496
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1497
  ENTER_GL();
1498
  glLightfv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1499 1500 1501
  LEAVE_GL();
}

1502
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1503
 *              glLighti (OPENGL32.@)
1504
 */
1505
void WINAPI wine_glLighti( GLenum light, GLenum pname, GLint param ) {
1506
  TRACE("(%d, %d, %d)\n", light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1507
  ENTER_GL();
1508
  glLighti( light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1509 1510 1511
  LEAVE_GL();
}

1512
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1513
 *              glLightiv (OPENGL32.@)
1514
 */
1515
void WINAPI wine_glLightiv( GLenum light, GLenum pname, GLint* params ) {
1516
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1517
  ENTER_GL();
1518
  glLightiv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1519 1520 1521
  LEAVE_GL();
}

1522
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1523
 *              glLineStipple (OPENGL32.@)
1524
 */
1525
void WINAPI wine_glLineStipple( GLint factor, GLushort pattern ) {
1526
  TRACE("(%d, %d)\n", factor, pattern );
Lionel Ulmer's avatar
Lionel Ulmer committed
1527
  ENTER_GL();
1528
  glLineStipple( factor, pattern );
Lionel Ulmer's avatar
Lionel Ulmer committed
1529 1530 1531
  LEAVE_GL();
}

1532
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1533
 *              glLineWidth (OPENGL32.@)
1534
 */
1535
void WINAPI wine_glLineWidth( GLfloat width ) {
1536
  TRACE("(%f)\n", width );
Lionel Ulmer's avatar
Lionel Ulmer committed
1537
  ENTER_GL();
1538
  glLineWidth( width );
Lionel Ulmer's avatar
Lionel Ulmer committed
1539 1540 1541
  LEAVE_GL();
}

1542
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1543
 *              glListBase (OPENGL32.@)
1544
 */
1545
void WINAPI wine_glListBase( GLuint base ) {
1546
  TRACE("(%d)\n", base );
Lionel Ulmer's avatar
Lionel Ulmer committed
1547
  ENTER_GL();
1548
  glListBase( base );
Lionel Ulmer's avatar
Lionel Ulmer committed
1549 1550 1551
  LEAVE_GL();
}

1552
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1553
 *              glLoadIdentity (OPENGL32.@)
1554
 */
1555
void WINAPI wine_glLoadIdentity( void ) {
1556
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1557
  ENTER_GL();
1558
  glLoadIdentity( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1559 1560 1561
  LEAVE_GL();
}

1562
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1563
 *              glLoadMatrixd (OPENGL32.@)
1564
 */
1565
void WINAPI wine_glLoadMatrixd( GLdouble* m ) {
1566
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1567
  ENTER_GL();
1568
  glLoadMatrixd( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1569 1570 1571
  LEAVE_GL();
}

1572
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1573
 *              glLoadMatrixf (OPENGL32.@)
1574
 */
1575
void WINAPI wine_glLoadMatrixf( GLfloat* m ) {
1576
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1577
  ENTER_GL();
1578
  glLoadMatrixf( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1579 1580 1581
  LEAVE_GL();
}

1582
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1583
 *              glLoadName (OPENGL32.@)
1584
 */
1585
void WINAPI wine_glLoadName( GLuint name ) {
1586
  TRACE("(%d)\n", name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1587
  ENTER_GL();
1588
  glLoadName( name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1589 1590 1591
  LEAVE_GL();
}

1592
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1593
 *              glLogicOp (OPENGL32.@)
1594
 */
1595
void WINAPI wine_glLogicOp( GLenum opcode ) {
1596
  TRACE("(%d)\n", opcode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1597
  ENTER_GL();
1598
  glLogicOp( opcode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1599 1600 1601
  LEAVE_GL();
}

1602
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1603
 *              glMap1d (OPENGL32.@)
1604
 */
1605
void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points ) {
1606
  TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1607
  ENTER_GL();
1608
  glMap1d( target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1609 1610 1611
  LEAVE_GL();
}

1612
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1613
 *              glMap1f (OPENGL32.@)
1614
 */
1615
void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points ) {
1616
  TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1617
  ENTER_GL();
1618
  glMap1f( target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1619 1620 1621
  LEAVE_GL();
}

1622
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1623
 *              glMap2d (OPENGL32.@)
1624
 */
1625
void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points ) {
1626
  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
1627
  ENTER_GL();
1628
  glMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1629 1630 1631
  LEAVE_GL();
}

1632
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1633
 *              glMap2f (OPENGL32.@)
1634
 */
1635
void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points ) {
1636
  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
1637
  ENTER_GL();
1638
  glMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1639 1640 1641
  LEAVE_GL();
}

1642
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1643
 *              glMapGrid1d (OPENGL32.@)
1644
 */
1645
void WINAPI wine_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) {
1646
  TRACE("(%d, %f, %f)\n", un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1647
  ENTER_GL();
1648
  glMapGrid1d( un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1649 1650 1651
  LEAVE_GL();
}

1652
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1653
 *              glMapGrid1f (OPENGL32.@)
1654
 */
1655
void WINAPI wine_glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ) {
1656
  TRACE("(%d, %f, %f)\n", un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1657
  ENTER_GL();
1658
  glMapGrid1f( un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1659 1660 1661
  LEAVE_GL();
}

1662
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1663
 *              glMapGrid2d (OPENGL32.@)
1664
 */
1665
void WINAPI wine_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) {
1666
  TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1667
  ENTER_GL();
1668
  glMapGrid2d( un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1669 1670 1671
  LEAVE_GL();
}

1672
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1673
 *              glMapGrid2f (OPENGL32.@)
1674
 */
1675
void WINAPI wine_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) {
1676
  TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1677
  ENTER_GL();
1678
  glMapGrid2f( un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1679 1680 1681
  LEAVE_GL();
}

1682
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1683
 *              glMaterialf (OPENGL32.@)
1684
 */
1685
void WINAPI wine_glMaterialf( GLenum face, GLenum pname, GLfloat param ) {
1686
  TRACE("(%d, %d, %f)\n", face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1687
  ENTER_GL();
1688
  glMaterialf( face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1689 1690 1691
  LEAVE_GL();
}

1692
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1693
 *              glMaterialfv (OPENGL32.@)
1694
 */
1695
void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
1696
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1697
  ENTER_GL();
1698
  glMaterialfv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1699 1700 1701
  LEAVE_GL();
}

1702
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1703
 *              glMateriali (OPENGL32.@)
1704
 */
1705
void WINAPI wine_glMateriali( GLenum face, GLenum pname, GLint param ) {
1706
  TRACE("(%d, %d, %d)\n", face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1707
  ENTER_GL();
1708
  glMateriali( face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1709 1710 1711
  LEAVE_GL();
}

1712
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1713
 *              glMaterialiv (OPENGL32.@)
1714
 */
1715
void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, GLint* params ) {
1716
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1717
  ENTER_GL();
1718
  glMaterialiv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1719 1720 1721
  LEAVE_GL();
}

1722
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1723
 *              glMatrixMode (OPENGL32.@)
1724
 */
1725
void WINAPI wine_glMatrixMode( GLenum mode ) {
1726
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1727
  ENTER_GL();
1728
  glMatrixMode( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1729 1730 1731
  LEAVE_GL();
}

1732
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1733
 *              glMultMatrixd (OPENGL32.@)
1734
 */
1735
void WINAPI wine_glMultMatrixd( GLdouble* m ) {
1736
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1737
  ENTER_GL();
1738
  glMultMatrixd( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1739 1740 1741
  LEAVE_GL();
}

1742
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1743
 *              glMultMatrixf (OPENGL32.@)
1744
 */
1745
void WINAPI wine_glMultMatrixf( GLfloat* m ) {
1746
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1747
  ENTER_GL();
1748
  glMultMatrixf( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1749 1750 1751
  LEAVE_GL();
}

1752
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1753
 *              glNewList (OPENGL32.@)
1754
 */
1755
void WINAPI wine_glNewList( GLuint list, GLenum mode ) {
1756
  TRACE("(%d, %d)\n", list, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1757
  ENTER_GL();
1758
  glNewList( list, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1759 1760 1761
  LEAVE_GL();
}

1762
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1763
 *              glNormal3b (OPENGL32.@)
1764
 */
1765
void WINAPI wine_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) {
1766
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1767
  ENTER_GL();
1768
  glNormal3b( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1769 1770 1771
  LEAVE_GL();
}

1772
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1773
 *              glNormal3bv (OPENGL32.@)
1774
 */
1775
void WINAPI wine_glNormal3bv( GLbyte* v ) {
1776
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1777
  ENTER_GL();
1778
  glNormal3bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1779 1780 1781
  LEAVE_GL();
}

1782
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1783
 *              glNormal3d (OPENGL32.@)
1784
 */
1785
void WINAPI wine_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) {
1786
  TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1787
  ENTER_GL();
1788
  glNormal3d( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1789 1790 1791
  LEAVE_GL();
}

1792
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1793
 *              glNormal3dv (OPENGL32.@)
1794
 */
1795
void WINAPI wine_glNormal3dv( GLdouble* v ) {
1796
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1797
  ENTER_GL();
1798
  glNormal3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1799 1800 1801
  LEAVE_GL();
}

1802
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1803
 *              glNormal3f (OPENGL32.@)
1804
 */
1805
void WINAPI wine_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) {
1806
  TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1807
  ENTER_GL();
1808
  glNormal3f( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1809 1810 1811
  LEAVE_GL();
}

1812
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1813
 *              glNormal3fv (OPENGL32.@)
1814
 */
1815
void WINAPI wine_glNormal3fv( GLfloat* v ) {
1816
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1817
  ENTER_GL();
1818
  glNormal3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1819 1820 1821
  LEAVE_GL();
}

1822
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1823
 *              glNormal3i (OPENGL32.@)
1824
 */
1825
void WINAPI wine_glNormal3i( GLint nx, GLint ny, GLint nz ) {
1826
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1827
  ENTER_GL();
1828
  glNormal3i( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1829 1830 1831
  LEAVE_GL();
}

1832
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1833
 *              glNormal3iv (OPENGL32.@)
1834
 */
1835
void WINAPI wine_glNormal3iv( GLint* v ) {
1836
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1837
  ENTER_GL();
1838
  glNormal3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1839 1840 1841
  LEAVE_GL();
}

1842
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1843
 *              glNormal3s (OPENGL32.@)
1844
 */
1845
void WINAPI wine_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) {
1846
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1847
  ENTER_GL();
1848
  glNormal3s( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
1849 1850 1851
  LEAVE_GL();
}

1852
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1853
 *              glNormal3sv (OPENGL32.@)
1854
 */
1855
void WINAPI wine_glNormal3sv( GLshort* v ) {
1856
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1857
  ENTER_GL();
1858
  glNormal3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1859 1860 1861
  LEAVE_GL();
}

1862
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1863
 *              glNormalPointer (OPENGL32.@)
1864
 */
1865
void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
1866
  TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1867
  ENTER_GL();
1868
  glNormalPointer( type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1869 1870 1871
  LEAVE_GL();
}

1872
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1873
 *              glOrtho (OPENGL32.@)
1874
 */
1875
void WINAPI wine_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
1876
  TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
1877
  ENTER_GL();
1878
  glOrtho( left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
1879 1880 1881
  LEAVE_GL();
}

1882
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1883
 *              glPassThrough (OPENGL32.@)
1884
 */
1885
void WINAPI wine_glPassThrough( GLfloat token ) {
1886
  TRACE("(%f)\n", token );
Lionel Ulmer's avatar
Lionel Ulmer committed
1887
  ENTER_GL();
1888
  glPassThrough( token );
Lionel Ulmer's avatar
Lionel Ulmer committed
1889 1890 1891
  LEAVE_GL();
}

1892
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1893
 *              glPixelMapfv (OPENGL32.@)
1894
 */
1895
void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, GLfloat* values ) {
1896
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1897
  ENTER_GL();
1898
  glPixelMapfv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1899 1900 1901
  LEAVE_GL();
}

1902
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1903
 *              glPixelMapuiv (OPENGL32.@)
1904
 */
1905
void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, GLuint* values ) {
1906
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1907
  ENTER_GL();
1908
  glPixelMapuiv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1909 1910 1911
  LEAVE_GL();
}

1912
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1913
 *              glPixelMapusv (OPENGL32.@)
1914
 */
1915
void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, GLushort* values ) {
1916
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1917
  ENTER_GL();
1918
  glPixelMapusv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1919 1920 1921
  LEAVE_GL();
}

1922
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1923
 *              glPixelStoref (OPENGL32.@)
1924
 */
1925
void WINAPI wine_glPixelStoref( GLenum pname, GLfloat param ) {
1926
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1927
  ENTER_GL();
1928
  glPixelStoref( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1929 1930 1931
  LEAVE_GL();
}

1932
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1933
 *              glPixelStorei (OPENGL32.@)
1934
 */
1935
void WINAPI wine_glPixelStorei( GLenum pname, GLint param ) {
1936
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1937
  ENTER_GL();
1938
  glPixelStorei( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1939 1940 1941
  LEAVE_GL();
}

1942
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1943
 *              glPixelTransferf (OPENGL32.@)
1944
 */
1945
void WINAPI wine_glPixelTransferf( GLenum pname, GLfloat param ) {
1946
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1947
  ENTER_GL();
1948
  glPixelTransferf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1949 1950 1951
  LEAVE_GL();
}

1952
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1953
 *              glPixelTransferi (OPENGL32.@)
1954
 */
1955
void WINAPI wine_glPixelTransferi( GLenum pname, GLint param ) {
1956
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1957
  ENTER_GL();
1958
  glPixelTransferi( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1959 1960 1961
  LEAVE_GL();
}

1962
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1963
 *              glPixelZoom (OPENGL32.@)
1964
 */
1965
void WINAPI wine_glPixelZoom( GLfloat xfactor, GLfloat yfactor ) {
1966
  TRACE("(%f, %f)\n", xfactor, yfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
1967
  ENTER_GL();
1968
  glPixelZoom( xfactor, yfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
1969 1970 1971
  LEAVE_GL();
}

1972
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1973
 *              glPointSize (OPENGL32.@)
1974
 */
1975
void WINAPI wine_glPointSize( GLfloat size ) {
1976
  TRACE("(%f)\n", size );
Lionel Ulmer's avatar
Lionel Ulmer committed
1977
  ENTER_GL();
1978
  glPointSize( size );
Lionel Ulmer's avatar
Lionel Ulmer committed
1979 1980 1981
  LEAVE_GL();
}

1982
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1983
 *              glPolygonMode (OPENGL32.@)
1984
 */
1985
void WINAPI wine_glPolygonMode( GLenum face, GLenum mode ) {
1986
  TRACE("(%d, %d)\n", face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1987
  ENTER_GL();
1988
  glPolygonMode( face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1989 1990 1991
  LEAVE_GL();
}

1992
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1993
 *              glPolygonOffset (OPENGL32.@)
1994
 */
1995
void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) {
1996
  TRACE("(%f, %f)\n", factor, units );
Lionel Ulmer's avatar
Lionel Ulmer committed
1997
  ENTER_GL();
1998
  glPolygonOffset( factor, units );
Lionel Ulmer's avatar
Lionel Ulmer committed
1999 2000 2001
  LEAVE_GL();
}

2002
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2003
 *              glPolygonStipple (OPENGL32.@)
2004
 */
2005
void WINAPI wine_glPolygonStipple( GLubyte* mask ) {
2006
  TRACE("(%p)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2007
  ENTER_GL();
2008
  glPolygonStipple( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2009 2010 2011
  LEAVE_GL();
}

2012
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2013
 *              glPopAttrib (OPENGL32.@)
2014
 */
2015
void WINAPI wine_glPopAttrib( void ) {
2016
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2017
  ENTER_GL();
2018
  glPopAttrib( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2019 2020 2021
  LEAVE_GL();
}

2022
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2023
 *              glPopClientAttrib (OPENGL32.@)
2024
 */
2025
void WINAPI wine_glPopClientAttrib( void ) {
2026
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2027
  ENTER_GL();
2028
  glPopClientAttrib( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2029 2030 2031
  LEAVE_GL();
}

2032
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2033
 *              glPopMatrix (OPENGL32.@)
2034
 */
2035
void WINAPI wine_glPopMatrix( void ) {
2036
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2037
  ENTER_GL();
2038
  glPopMatrix( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2039 2040 2041
  LEAVE_GL();
}

2042
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2043
 *              glPopName (OPENGL32.@)
2044
 */
2045
void WINAPI wine_glPopName( void ) {
2046
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2047
  ENTER_GL();
2048
  glPopName( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2049 2050 2051
  LEAVE_GL();
}

2052
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2053
 *              glPrioritizeTextures (OPENGL32.@)
2054
 */
2055
void WINAPI wine_glPrioritizeTextures( GLsizei n, GLuint* textures, GLclampf* priorities ) {
2056
  TRACE("(%d, %p, %p)\n", n, textures, priorities );
Lionel Ulmer's avatar
Lionel Ulmer committed
2057
  ENTER_GL();
2058
  glPrioritizeTextures( n, textures, priorities );
Lionel Ulmer's avatar
Lionel Ulmer committed
2059 2060 2061
  LEAVE_GL();
}

2062
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2063
 *              glPushAttrib (OPENGL32.@)
2064
 */
2065
void WINAPI wine_glPushAttrib( GLbitfield mask ) {
2066
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2067
  ENTER_GL();
2068
  glPushAttrib( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2069 2070 2071
  LEAVE_GL();
}

2072
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2073
 *              glPushClientAttrib (OPENGL32.@)
2074
 */
2075
void WINAPI wine_glPushClientAttrib( GLbitfield mask ) {
2076
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2077
  ENTER_GL();
2078
  glPushClientAttrib( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2079 2080 2081
  LEAVE_GL();
}

2082
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2083
 *              glPushMatrix (OPENGL32.@)
2084
 */
2085
void WINAPI wine_glPushMatrix( void ) {
2086
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2087
  ENTER_GL();
2088
  glPushMatrix( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2089 2090 2091
  LEAVE_GL();
}

2092
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2093
 *              glPushName (OPENGL32.@)
2094
 */
2095
void WINAPI wine_glPushName( GLuint name ) {
2096
  TRACE("(%d)\n", name );
Lionel Ulmer's avatar
Lionel Ulmer committed
2097
  ENTER_GL();
2098
  glPushName( name );
Lionel Ulmer's avatar
Lionel Ulmer committed
2099 2100 2101
  LEAVE_GL();
}

2102
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2103
 *              glRasterPos2d (OPENGL32.@)
2104
 */
2105
void WINAPI wine_glRasterPos2d( GLdouble x, GLdouble y ) {
2106
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2107
  ENTER_GL();
2108
  glRasterPos2d( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2109 2110 2111
  LEAVE_GL();
}

2112
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2113
 *              glRasterPos2dv (OPENGL32.@)
2114
 */
2115
void WINAPI wine_glRasterPos2dv( GLdouble* v ) {
2116
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2117
  ENTER_GL();
2118
  glRasterPos2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2119 2120 2121
  LEAVE_GL();
}

2122
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2123
 *              glRasterPos2f (OPENGL32.@)
2124
 */
2125
void WINAPI wine_glRasterPos2f( GLfloat x, GLfloat y ) {
2126
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2127
  ENTER_GL();
2128
  glRasterPos2f( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2129 2130 2131
  LEAVE_GL();
}

2132
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2133
 *              glRasterPos2fv (OPENGL32.@)
2134
 */
2135
void WINAPI wine_glRasterPos2fv( GLfloat* v ) {
2136
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2137
  ENTER_GL();
2138
  glRasterPos2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2139 2140 2141
  LEAVE_GL();
}

2142
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2143
 *              glRasterPos2i (OPENGL32.@)
2144
 */
2145
void WINAPI wine_glRasterPos2i( GLint x, GLint y ) {
2146
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2147
  ENTER_GL();
2148
  glRasterPos2i( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2149 2150 2151
  LEAVE_GL();
}

2152
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2153
 *              glRasterPos2iv (OPENGL32.@)
2154
 */
2155
void WINAPI wine_glRasterPos2iv( GLint* v ) {
2156
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2157
  ENTER_GL();
2158
  glRasterPos2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2159 2160 2161
  LEAVE_GL();
}

2162
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2163
 *              glRasterPos2s (OPENGL32.@)
2164
 */
2165
void WINAPI wine_glRasterPos2s( GLshort x, GLshort y ) {
2166
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2167
  ENTER_GL();
2168
  glRasterPos2s( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2169 2170 2171
  LEAVE_GL();
}

2172
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2173
 *              glRasterPos2sv (OPENGL32.@)
2174
 */
2175
void WINAPI wine_glRasterPos2sv( GLshort* v ) {
2176
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2177
  ENTER_GL();
2178
  glRasterPos2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2179 2180 2181
  LEAVE_GL();
}

2182
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2183
 *              glRasterPos3d (OPENGL32.@)
2184
 */
2185
void WINAPI wine_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) {
2186
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2187
  ENTER_GL();
2188
  glRasterPos3d( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2189 2190 2191
  LEAVE_GL();
}

2192
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2193
 *              glRasterPos3dv (OPENGL32.@)
2194
 */
2195
void WINAPI wine_glRasterPos3dv( GLdouble* v ) {
2196
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2197
  ENTER_GL();
2198
  glRasterPos3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2199 2200 2201
  LEAVE_GL();
}

2202
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2203
 *              glRasterPos3f (OPENGL32.@)
2204
 */
2205
void WINAPI wine_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) {
2206
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2207
  ENTER_GL();
2208
  glRasterPos3f( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2209 2210 2211
  LEAVE_GL();
}

2212
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2213
 *              glRasterPos3fv (OPENGL32.@)
2214
 */
2215
void WINAPI wine_glRasterPos3fv( GLfloat* v ) {
2216
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2217
  ENTER_GL();
2218
  glRasterPos3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2219 2220 2221
  LEAVE_GL();
}

2222
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2223
 *              glRasterPos3i (OPENGL32.@)
2224
 */
2225
void WINAPI wine_glRasterPos3i( GLint x, GLint y, GLint z ) {
2226
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2227
  ENTER_GL();
2228
  glRasterPos3i( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2229 2230 2231
  LEAVE_GL();
}

2232
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2233
 *              glRasterPos3iv (OPENGL32.@)
2234
 */
2235
void WINAPI wine_glRasterPos3iv( GLint* v ) {
2236
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2237
  ENTER_GL();
2238
  glRasterPos3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2239 2240 2241
  LEAVE_GL();
}

2242
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2243
 *              glRasterPos3s (OPENGL32.@)
2244
 */
2245
void WINAPI wine_glRasterPos3s( GLshort x, GLshort y, GLshort z ) {
2246
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2247
  ENTER_GL();
2248
  glRasterPos3s( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2249 2250 2251
  LEAVE_GL();
}

2252
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2253
 *              glRasterPos3sv (OPENGL32.@)
2254
 */
2255
void WINAPI wine_glRasterPos3sv( GLshort* v ) {
2256
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2257
  ENTER_GL();
2258
  glRasterPos3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2259 2260 2261
  LEAVE_GL();
}

2262
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2263
 *              glRasterPos4d (OPENGL32.@)
2264
 */
2265
void WINAPI wine_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
2266
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2267
  ENTER_GL();
2268
  glRasterPos4d( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2269 2270 2271
  LEAVE_GL();
}

2272
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2273
 *              glRasterPos4dv (OPENGL32.@)
2274
 */
2275
void WINAPI wine_glRasterPos4dv( GLdouble* v ) {
2276
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2277
  ENTER_GL();
2278
  glRasterPos4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2279 2280 2281
  LEAVE_GL();
}

2282
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2283
 *              glRasterPos4f (OPENGL32.@)
2284
 */
2285
void WINAPI wine_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
2286
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2287
  ENTER_GL();
2288
  glRasterPos4f( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2289 2290 2291
  LEAVE_GL();
}

2292
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2293
 *              glRasterPos4fv (OPENGL32.@)
2294
 */
2295
void WINAPI wine_glRasterPos4fv( GLfloat* v ) {
2296
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2297
  ENTER_GL();
2298
  glRasterPos4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2299 2300 2301
  LEAVE_GL();
}

2302
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2303
 *              glRasterPos4i (OPENGL32.@)
2304
 */
2305
void WINAPI wine_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) {
2306
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2307
  ENTER_GL();
2308
  glRasterPos4i( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2309 2310 2311
  LEAVE_GL();
}

2312
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2313
 *              glRasterPos4iv (OPENGL32.@)
2314
 */
2315
void WINAPI wine_glRasterPos4iv( GLint* v ) {
2316
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2317
  ENTER_GL();
2318
  glRasterPos4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2319 2320 2321
  LEAVE_GL();
}

2322
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2323
 *              glRasterPos4s (OPENGL32.@)
2324
 */
2325
void WINAPI wine_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
2326
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2327
  ENTER_GL();
2328
  glRasterPos4s( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2329 2330 2331
  LEAVE_GL();
}

2332
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2333
 *              glRasterPos4sv (OPENGL32.@)
2334
 */
2335
void WINAPI wine_glRasterPos4sv( GLshort* v ) {
2336
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2337
  ENTER_GL();
2338
  glRasterPos4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2339 2340 2341
  LEAVE_GL();
}

2342
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2343
 *              glReadBuffer (OPENGL32.@)
2344
 */
2345
void WINAPI wine_glReadBuffer( GLenum mode ) {
2346
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2347
  ENTER_GL();
2348
  glReadBuffer( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2349 2350 2351
  LEAVE_GL();
}

2352
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2353
 *              glReadPixels (OPENGL32.@)
2354
 */
2355
void WINAPI wine_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
2356
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
2357
  ENTER_GL();
2358
  glReadPixels( x, y, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
2359 2360 2361
  LEAVE_GL();
}

2362
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2363
 *              glRectd (OPENGL32.@)
2364
 */
2365
void WINAPI wine_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) {
2366
  TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2367
  ENTER_GL();
2368
  glRectd( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2369 2370 2371
  LEAVE_GL();
}

2372
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2373
 *              glRectdv (OPENGL32.@)
2374
 */
2375
void WINAPI wine_glRectdv( GLdouble* v1, GLdouble* v2 ) {
2376
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2377
  ENTER_GL();
2378
  glRectdv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2379 2380 2381
  LEAVE_GL();
}

2382
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2383
 *              glRectf (OPENGL32.@)
2384
 */
2385
void WINAPI wine_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) {
2386
  TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2387
  ENTER_GL();
2388
  glRectf( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2389 2390 2391
  LEAVE_GL();
}

2392
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2393
 *              glRectfv (OPENGL32.@)
2394
 */
2395
void WINAPI wine_glRectfv( GLfloat* v1, GLfloat* v2 ) {
2396
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2397
  ENTER_GL();
2398
  glRectfv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2399 2400 2401
  LEAVE_GL();
}

2402
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2403
 *              glRecti (OPENGL32.@)
2404
 */
2405
void WINAPI wine_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) {
2406
  TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2407
  ENTER_GL();
2408
  glRecti( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2409 2410 2411
  LEAVE_GL();
}

2412
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2413
 *              glRectiv (OPENGL32.@)
2414
 */
2415
void WINAPI wine_glRectiv( GLint* v1, GLint* v2 ) {
2416
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2417
  ENTER_GL();
2418
  glRectiv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2419 2420 2421
  LEAVE_GL();
}

2422
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2423
 *              glRects (OPENGL32.@)
2424
 */
2425
void WINAPI wine_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) {
2426
  TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2427
  ENTER_GL();
2428
  glRects( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2429 2430 2431
  LEAVE_GL();
}

2432
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2433
 *              glRectsv (OPENGL32.@)
2434
 */
2435
void WINAPI wine_glRectsv( GLshort* v1, GLshort* v2 ) {
2436
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2437
  ENTER_GL();
2438
  glRectsv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2439 2440 2441
  LEAVE_GL();
}

2442
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2443
 *              glRenderMode (OPENGL32.@)
2444
 */
2445 2446
GLint WINAPI wine_glRenderMode( GLenum mode ) {
  GLint ret_value;
2447
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2448
  ENTER_GL();
2449
  ret_value = glRenderMode( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2450
  LEAVE_GL();
2451
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
2452 2453
}

2454
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2455
 *              glRotated (OPENGL32.@)
2456
 */
2457
void WINAPI wine_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) {
2458
  TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2459
  ENTER_GL();
2460
  glRotated( angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2461 2462 2463
  LEAVE_GL();
}

2464
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2465
 *              glRotatef (OPENGL32.@)
2466
 */
2467
void WINAPI wine_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) {
2468
  TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2469
  ENTER_GL();
2470
  glRotatef( angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2471 2472 2473
  LEAVE_GL();
}

2474
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2475
 *              glScaled (OPENGL32.@)
2476
 */
2477
void WINAPI wine_glScaled( GLdouble x, GLdouble y, GLdouble z ) {
2478
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2479
  ENTER_GL();
2480
  glScaled( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2481 2482 2483
  LEAVE_GL();
}

2484
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2485
 *              glScalef (OPENGL32.@)
2486
 */
2487
void WINAPI wine_glScalef( GLfloat x, GLfloat y, GLfloat z ) {
2488
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2489
  ENTER_GL();
2490
  glScalef( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2491 2492 2493
  LEAVE_GL();
}

2494 2495 2496 2497 2498 2499 2500 2501 2502 2503
/***********************************************************************
 *              glScissor (OPENGL32.@)
 */
void WINAPI wine_glScissor( GLint x, GLint y, GLsizei width, GLsizei height ) {
  TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
  ENTER_GL();
  glScissor( x, y, width, height );
  LEAVE_GL();
}

2504
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2505
 *              glSelectBuffer (OPENGL32.@)
2506
 */
2507
void WINAPI wine_glSelectBuffer( GLsizei size, GLuint* buffer ) {
2508
  TRACE("(%d, %p)\n", size, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2509
  ENTER_GL();
2510
  glSelectBuffer( size, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2511 2512 2513
  LEAVE_GL();
}

2514
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2515
 *              glShadeModel (OPENGL32.@)
2516
 */
2517
void WINAPI wine_glShadeModel( GLenum mode ) {
2518
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2519
  ENTER_GL();
2520
  glShadeModel( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2521 2522 2523
  LEAVE_GL();
}

2524
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2525
 *              glStencilFunc (OPENGL32.@)
2526
 */
2527
void WINAPI wine_glStencilFunc( GLenum func, GLint ref, GLuint mask ) {
2528
  TRACE("(%d, %d, %d)\n", func, ref, mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2529
  ENTER_GL();
2530
  glStencilFunc( func, ref, mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2531 2532 2533
  LEAVE_GL();
}

2534
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2535
 *              glStencilMask (OPENGL32.@)
2536
 */
2537
void WINAPI wine_glStencilMask( GLuint mask ) {
2538
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2539
  ENTER_GL();
2540
  glStencilMask( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2541 2542 2543
  LEAVE_GL();
}

2544
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2545
 *              glStencilOp (OPENGL32.@)
2546
 */
2547
void WINAPI wine_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) {
2548
  TRACE("(%d, %d, %d)\n", fail, zfail, zpass );
Lionel Ulmer's avatar
Lionel Ulmer committed
2549
  ENTER_GL();
2550
  glStencilOp( fail, zfail, zpass );
Lionel Ulmer's avatar
Lionel Ulmer committed
2551 2552 2553
  LEAVE_GL();
}

2554
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2555
 *              glTexCoord1d (OPENGL32.@)
2556
 */
2557
void WINAPI wine_glTexCoord1d( GLdouble s ) {
2558
  TRACE("(%f)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2559
  ENTER_GL();
2560
  glTexCoord1d( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2561 2562 2563
  LEAVE_GL();
}

2564
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2565
 *              glTexCoord1dv (OPENGL32.@)
2566
 */
2567
void WINAPI wine_glTexCoord1dv( GLdouble* v ) {
2568
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2569
  ENTER_GL();
2570
  glTexCoord1dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2571 2572 2573
  LEAVE_GL();
}

2574
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2575
 *              glTexCoord1f (OPENGL32.@)
2576
 */
2577
void WINAPI wine_glTexCoord1f( GLfloat s ) {
2578
  TRACE("(%f)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2579
  ENTER_GL();
2580
  glTexCoord1f( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2581 2582 2583
  LEAVE_GL();
}

2584
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2585
 *              glTexCoord1fv (OPENGL32.@)
2586
 */
2587
void WINAPI wine_glTexCoord1fv( GLfloat* v ) {
2588
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2589
  ENTER_GL();
2590
  glTexCoord1fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2591 2592 2593
  LEAVE_GL();
}

2594
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2595
 *              glTexCoord1i (OPENGL32.@)
2596
 */
2597
void WINAPI wine_glTexCoord1i( GLint s ) {
2598
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2599
  ENTER_GL();
2600
  glTexCoord1i( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2601 2602 2603
  LEAVE_GL();
}

2604
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2605
 *              glTexCoord1iv (OPENGL32.@)
2606
 */
2607
void WINAPI wine_glTexCoord1iv( GLint* v ) {
2608
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2609
  ENTER_GL();
2610
  glTexCoord1iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2611 2612 2613
  LEAVE_GL();
}

2614
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2615
 *              glTexCoord1s (OPENGL32.@)
2616
 */
2617
void WINAPI wine_glTexCoord1s( GLshort s ) {
2618
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2619
  ENTER_GL();
2620
  glTexCoord1s( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2621 2622 2623
  LEAVE_GL();
}

2624
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2625
 *              glTexCoord1sv (OPENGL32.@)
2626
 */
2627
void WINAPI wine_glTexCoord1sv( GLshort* v ) {
2628
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2629
  ENTER_GL();
2630
  glTexCoord1sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2631 2632 2633
  LEAVE_GL();
}

2634
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2635
 *              glTexCoord2d (OPENGL32.@)
2636
 */
2637
void WINAPI wine_glTexCoord2d( GLdouble s, GLdouble t ) {
2638
  TRACE("(%f, %f)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2639
  ENTER_GL();
2640
  glTexCoord2d( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2641 2642 2643
  LEAVE_GL();
}

2644
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2645
 *              glTexCoord2dv (OPENGL32.@)
2646
 */
2647
void WINAPI wine_glTexCoord2dv( GLdouble* v ) {
2648
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2649
  ENTER_GL();
2650
  glTexCoord2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2651 2652 2653
  LEAVE_GL();
}

2654
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2655
 *              glTexCoord2f (OPENGL32.@)
2656
 */
2657
void WINAPI wine_glTexCoord2f( GLfloat s, GLfloat t ) {
2658
  TRACE("(%f, %f)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2659
  ENTER_GL();
2660
  glTexCoord2f( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2661 2662 2663
  LEAVE_GL();
}

2664
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2665
 *              glTexCoord2fv (OPENGL32.@)
2666
 */
2667
void WINAPI wine_glTexCoord2fv( GLfloat* v ) {
2668
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2669
  ENTER_GL();
2670
  glTexCoord2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2671 2672 2673
  LEAVE_GL();
}

2674
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2675
 *              glTexCoord2i (OPENGL32.@)
2676
 */
2677
void WINAPI wine_glTexCoord2i( GLint s, GLint t ) {
2678
  TRACE("(%d, %d)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2679
  ENTER_GL();
2680
  glTexCoord2i( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2681 2682 2683
  LEAVE_GL();
}

2684
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2685
 *              glTexCoord2iv (OPENGL32.@)
2686
 */
2687
void WINAPI wine_glTexCoord2iv( GLint* v ) {
2688
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2689
  ENTER_GL();
2690
  glTexCoord2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2691 2692 2693
  LEAVE_GL();
}

2694
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2695
 *              glTexCoord2s (OPENGL32.@)
2696
 */
2697
void WINAPI wine_glTexCoord2s( GLshort s, GLshort t ) {
2698
  TRACE("(%d, %d)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2699
  ENTER_GL();
2700
  glTexCoord2s( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2701 2702 2703
  LEAVE_GL();
}

2704
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2705
 *              glTexCoord2sv (OPENGL32.@)
2706
 */
2707
void WINAPI wine_glTexCoord2sv( GLshort* v ) {
2708
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2709
  ENTER_GL();
2710
  glTexCoord2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2711 2712 2713
  LEAVE_GL();
}

2714
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2715
 *              glTexCoord3d (OPENGL32.@)
2716
 */
2717
void WINAPI wine_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) {
2718
  TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2719
  ENTER_GL();
2720
  glTexCoord3d( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2721 2722 2723
  LEAVE_GL();
}

2724
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2725
 *              glTexCoord3dv (OPENGL32.@)
2726
 */
2727
void WINAPI wine_glTexCoord3dv( GLdouble* v ) {
2728
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2729
  ENTER_GL();
2730
  glTexCoord3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2731 2732 2733
  LEAVE_GL();
}

2734
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2735
 *              glTexCoord3f (OPENGL32.@)
2736
 */
2737
void WINAPI wine_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) {
2738
  TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2739
  ENTER_GL();
2740
  glTexCoord3f( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2741 2742 2743
  LEAVE_GL();
}

2744
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2745
 *              glTexCoord3fv (OPENGL32.@)
2746
 */
2747
void WINAPI wine_glTexCoord3fv( GLfloat* v ) {
2748
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2749
  ENTER_GL();
2750
  glTexCoord3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2751 2752 2753
  LEAVE_GL();
}

2754
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2755
 *              glTexCoord3i (OPENGL32.@)
2756
 */
2757
void WINAPI wine_glTexCoord3i( GLint s, GLint t, GLint r ) {
2758
  TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2759
  ENTER_GL();
2760
  glTexCoord3i( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2761 2762 2763
  LEAVE_GL();
}

2764
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2765
 *              glTexCoord3iv (OPENGL32.@)
2766
 */
2767
void WINAPI wine_glTexCoord3iv( GLint* v ) {
2768
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2769
  ENTER_GL();
2770
  glTexCoord3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2771 2772 2773
  LEAVE_GL();
}

2774
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2775
 *              glTexCoord3s (OPENGL32.@)
2776
 */
2777
void WINAPI wine_glTexCoord3s( GLshort s, GLshort t, GLshort r ) {
2778
  TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2779
  ENTER_GL();
2780
  glTexCoord3s( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
2781 2782 2783
  LEAVE_GL();
}

2784
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2785
 *              glTexCoord3sv (OPENGL32.@)
2786
 */
2787
void WINAPI wine_glTexCoord3sv( GLshort* v ) {
2788
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2789
  ENTER_GL();
2790
  glTexCoord3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2791 2792 2793
  LEAVE_GL();
}

2794
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2795
 *              glTexCoord4d (OPENGL32.@)
2796
 */
2797
void WINAPI wine_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) {
2798
  TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2799
  ENTER_GL();
2800
  glTexCoord4d( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2801 2802 2803
  LEAVE_GL();
}

2804
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2805
 *              glTexCoord4dv (OPENGL32.@)
2806
 */
2807
void WINAPI wine_glTexCoord4dv( GLdouble* v ) {
2808
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2809
  ENTER_GL();
2810
  glTexCoord4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2811 2812 2813
  LEAVE_GL();
}

2814
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2815
 *              glTexCoord4f (OPENGL32.@)
2816
 */
2817
void WINAPI wine_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) {
2818
  TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2819
  ENTER_GL();
2820
  glTexCoord4f( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2821 2822 2823
  LEAVE_GL();
}

2824
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2825
 *              glTexCoord4fv (OPENGL32.@)
2826
 */
2827
void WINAPI wine_glTexCoord4fv( GLfloat* v ) {
2828
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2829
  ENTER_GL();
2830
  glTexCoord4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2831 2832 2833
  LEAVE_GL();
}

2834
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2835
 *              glTexCoord4i (OPENGL32.@)
2836
 */
2837
void WINAPI wine_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) {
2838
  TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2839
  ENTER_GL();
2840
  glTexCoord4i( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2841 2842 2843
  LEAVE_GL();
}

2844
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2845
 *              glTexCoord4iv (OPENGL32.@)
2846
 */
2847
void WINAPI wine_glTexCoord4iv( GLint* v ) {
2848
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2849
  ENTER_GL();
2850
  glTexCoord4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2851 2852 2853
  LEAVE_GL();
}

2854
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2855
 *              glTexCoord4s (OPENGL32.@)
2856
 */
2857
void WINAPI wine_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) {
2858
  TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2859
  ENTER_GL();
2860
  glTexCoord4s( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
2861 2862 2863
  LEAVE_GL();
}

2864
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2865
 *              glTexCoord4sv (OPENGL32.@)
2866
 */
2867
void WINAPI wine_glTexCoord4sv( GLshort* v ) {
2868
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2869
  ENTER_GL();
2870
  glTexCoord4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2871 2872 2873
  LEAVE_GL();
}

2874
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2875
 *              glTexCoordPointer (OPENGL32.@)
2876
 */
2877
void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
2878
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2879
  ENTER_GL();
2880
  glTexCoordPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2881 2882 2883
  LEAVE_GL();
}

2884
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2885
 *              glTexEnvf (OPENGL32.@)
2886
 */
2887
void WINAPI wine_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) {
2888
  TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2889
  ENTER_GL();
2890
  glTexEnvf( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2891 2892 2893
  LEAVE_GL();
}

2894
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2895
 *              glTexEnvfv (OPENGL32.@)
2896
 */
2897
void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
2898
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2899
  ENTER_GL();
2900
  glTexEnvfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2901 2902 2903
  LEAVE_GL();
}

2904
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2905
 *              glTexEnvi (OPENGL32.@)
2906
 */
2907
void WINAPI wine_glTexEnvi( GLenum target, GLenum pname, GLint param ) {
2908
  TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2909
  ENTER_GL();
2910
  glTexEnvi( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2911 2912 2913
  LEAVE_GL();
}

2914
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2915
 *              glTexEnviv (OPENGL32.@)
2916
 */
2917
void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, GLint* params ) {
2918
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2919
  ENTER_GL();
2920
  glTexEnviv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2921 2922 2923
  LEAVE_GL();
}

2924
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2925
 *              glTexGend (OPENGL32.@)
2926
 */
2927
void WINAPI wine_glTexGend( GLenum coord, GLenum pname, GLdouble param ) {
2928
  TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2929
  ENTER_GL();
2930
  glTexGend( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2931 2932 2933
  LEAVE_GL();
}

2934
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2935
 *              glTexGendv (OPENGL32.@)
2936
 */
2937
void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
2938
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2939
  ENTER_GL();
2940
  glTexGendv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2941 2942 2943
  LEAVE_GL();
}

2944
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2945
 *              glTexGenf (OPENGL32.@)
2946
 */
2947
void WINAPI wine_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) {
2948
  TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2949
  ENTER_GL();
2950
  glTexGenf( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2951 2952 2953
  LEAVE_GL();
}

2954
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2955
 *              glTexGenfv (OPENGL32.@)
2956
 */
2957
void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
2958
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2959
  ENTER_GL();
2960
  glTexGenfv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2961 2962 2963
  LEAVE_GL();
}

2964
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2965
 *              glTexGeni (OPENGL32.@)
2966
 */
2967
void WINAPI wine_glTexGeni( GLenum coord, GLenum pname, GLint param ) {
2968
  TRACE("(%d, %d, %d)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2969
  ENTER_GL();
2970
  glTexGeni( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2971 2972 2973
  LEAVE_GL();
}

2974
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2975
 *              glTexGeniv (OPENGL32.@)
2976
 */
2977
void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
2978
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2979
  ENTER_GL();
2980
  glTexGeniv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2981 2982 2983
  LEAVE_GL();
}

2984
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2985
 *              glTexImage1D (OPENGL32.@)
2986
 */
2987
void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
2988
  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
2989
  ENTER_GL();
2990
  glTexImage1D( target, level, internalformat, width, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
2991 2992 2993
  LEAVE_GL();
}

2994
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2995
 *              glTexImage2D (OPENGL32.@)
2996
 */
2997
void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
2998
  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
2999
  ENTER_GL();
3000
  glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3001 3002 3003
  LEAVE_GL();
}

3004
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3005
 *              glTexParameterf (OPENGL32.@)
3006
 */
3007
void WINAPI wine_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) {
3008
  TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3009
  ENTER_GL();
3010
  glTexParameterf( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3011 3012 3013
  LEAVE_GL();
}

3014
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3015
 *              glTexParameterfv (OPENGL32.@)
3016
 */
3017
void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
3018
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3019
  ENTER_GL();
3020
  glTexParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3021 3022 3023
  LEAVE_GL();
}

3024
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3025
 *              glTexParameteri (OPENGL32.@)
3026
 */
3027
void WINAPI wine_glTexParameteri( GLenum target, GLenum pname, GLint param ) {
3028
  TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3029
  ENTER_GL();
3030
  glTexParameteri( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3031 3032 3033
  LEAVE_GL();
}

3034
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3035
 *              glTexParameteriv (OPENGL32.@)
3036
 */
3037
void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
3038
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3039
  ENTER_GL();
3040
  glTexParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3041 3042 3043
  LEAVE_GL();
}

3044
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3045
 *              glTexSubImage1D (OPENGL32.@)
3046
 */
3047
void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) {
3048
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3049
  ENTER_GL();
3050
  glTexSubImage1D( target, level, xoffset, width, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3051 3052 3053
  LEAVE_GL();
}

3054
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3055
 *              glTexSubImage2D (OPENGL32.@)
3056
 */
3057
void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
3058
  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
3059
  ENTER_GL();
3060
  glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3061 3062 3063
  LEAVE_GL();
}

3064
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3065
 *              glTranslated (OPENGL32.@)
3066
 */
3067
void WINAPI wine_glTranslated( GLdouble x, GLdouble y, GLdouble z ) {
3068
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3069
  ENTER_GL();
3070
  glTranslated( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3071 3072 3073
  LEAVE_GL();
}

3074
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3075
 *              glTranslatef (OPENGL32.@)
3076
 */
3077
void WINAPI wine_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) {
3078
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3079
  ENTER_GL();
3080
  glTranslatef( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3081 3082 3083
  LEAVE_GL();
}

3084
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3085
 *              glVertex2d (OPENGL32.@)
3086
 */
3087
void WINAPI wine_glVertex2d( GLdouble x, GLdouble y ) {
3088
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3089
  ENTER_GL();
3090
  glVertex2d( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3091 3092 3093
  LEAVE_GL();
}

3094
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3095
 *              glVertex2dv (OPENGL32.@)
3096
 */
3097
void WINAPI wine_glVertex2dv( GLdouble* v ) {
3098
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3099
  ENTER_GL();
3100
  glVertex2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3101 3102 3103
  LEAVE_GL();
}

3104
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3105
 *              glVertex2f (OPENGL32.@)
3106
 */
3107
void WINAPI wine_glVertex2f( GLfloat x, GLfloat y ) {
3108
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3109
  ENTER_GL();
3110
  glVertex2f( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3111 3112 3113
  LEAVE_GL();
}

3114
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3115
 *              glVertex2fv (OPENGL32.@)
3116
 */
3117
void WINAPI wine_glVertex2fv( GLfloat* v ) {
3118
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3119
  ENTER_GL();
3120
  glVertex2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3121 3122 3123
  LEAVE_GL();
}

3124
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3125
 *              glVertex2i (OPENGL32.@)
3126
 */
3127
void WINAPI wine_glVertex2i( GLint x, GLint y ) {
3128
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3129
  ENTER_GL();
3130
  glVertex2i( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3131 3132 3133
  LEAVE_GL();
}

3134
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3135
 *              glVertex2iv (OPENGL32.@)
3136
 */
3137
void WINAPI wine_glVertex2iv( GLint* v ) {
3138
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3139
  ENTER_GL();
3140
  glVertex2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3141 3142 3143
  LEAVE_GL();
}

3144
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3145
 *              glVertex2s (OPENGL32.@)
3146
 */
3147
void WINAPI wine_glVertex2s( GLshort x, GLshort y ) {
3148
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3149
  ENTER_GL();
3150
  glVertex2s( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3151 3152 3153
  LEAVE_GL();
}

3154
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3155
 *              glVertex2sv (OPENGL32.@)
3156
 */
3157
void WINAPI wine_glVertex2sv( GLshort* v ) {
3158
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3159
  ENTER_GL();
3160
  glVertex2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3161 3162 3163
  LEAVE_GL();
}

3164
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3165
 *              glVertex3d (OPENGL32.@)
3166
 */
3167
void WINAPI wine_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) {
3168
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3169
  ENTER_GL();
3170
  glVertex3d( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3171 3172 3173
  LEAVE_GL();
}

3174
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3175
 *              glVertex3dv (OPENGL32.@)
3176
 */
3177
void WINAPI wine_glVertex3dv( GLdouble* v ) {
3178
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3179
  ENTER_GL();
3180
  glVertex3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3181 3182 3183
  LEAVE_GL();
}

3184
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3185
 *              glVertex3f (OPENGL32.@)
3186
 */
3187
void WINAPI wine_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) {
3188
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3189
  ENTER_GL();
3190
  glVertex3f( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3191 3192 3193
  LEAVE_GL();
}

3194
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3195
 *              glVertex3fv (OPENGL32.@)
3196
 */
3197
void WINAPI wine_glVertex3fv( GLfloat* v ) {
3198
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3199
  ENTER_GL();
3200
  glVertex3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3201 3202 3203
  LEAVE_GL();
}

3204
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3205
 *              glVertex3i (OPENGL32.@)
3206
 */
3207
void WINAPI wine_glVertex3i( GLint x, GLint y, GLint z ) {
3208
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3209
  ENTER_GL();
3210
  glVertex3i( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3211 3212 3213
  LEAVE_GL();
}

3214
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3215
 *              glVertex3iv (OPENGL32.@)
3216
 */
3217
void WINAPI wine_glVertex3iv( GLint* v ) {
3218
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3219
  ENTER_GL();
3220
  glVertex3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3221 3222 3223
  LEAVE_GL();
}

3224
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3225
 *              glVertex3s (OPENGL32.@)
3226
 */
3227
void WINAPI wine_glVertex3s( GLshort x, GLshort y, GLshort z ) {
3228
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3229
  ENTER_GL();
3230
  glVertex3s( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3231 3232 3233
  LEAVE_GL();
}

3234
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3235
 *              glVertex3sv (OPENGL32.@)
3236
 */
3237
void WINAPI wine_glVertex3sv( GLshort* v ) {
3238
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3239
  ENTER_GL();
3240
  glVertex3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3241 3242 3243
  LEAVE_GL();
}

3244
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3245
 *              glVertex4d (OPENGL32.@)
3246
 */
3247
void WINAPI wine_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
3248
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3249
  ENTER_GL();
3250
  glVertex4d( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3251 3252 3253
  LEAVE_GL();
}

3254
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3255
 *              glVertex4dv (OPENGL32.@)
3256
 */
3257
void WINAPI wine_glVertex4dv( GLdouble* v ) {
3258
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3259
  ENTER_GL();
3260
  glVertex4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3261 3262 3263
  LEAVE_GL();
}

3264
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3265
 *              glVertex4f (OPENGL32.@)
3266
 */
3267
void WINAPI wine_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
3268
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3269
  ENTER_GL();
3270
  glVertex4f( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3271 3272 3273
  LEAVE_GL();
}

3274
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3275
 *              glVertex4fv (OPENGL32.@)
3276
 */
3277
void WINAPI wine_glVertex4fv( GLfloat* v ) {
3278
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3279
  ENTER_GL();
3280
  glVertex4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3281 3282 3283
  LEAVE_GL();
}

3284
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3285
 *              glVertex4i (OPENGL32.@)
3286
 */
3287
void WINAPI wine_glVertex4i( GLint x, GLint y, GLint z, GLint w ) {
3288
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3289
  ENTER_GL();
3290
  glVertex4i( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3291 3292 3293
  LEAVE_GL();
}

3294
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3295
 *              glVertex4iv (OPENGL32.@)
3296
 */
3297
void WINAPI wine_glVertex4iv( GLint* v ) {
3298
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3299
  ENTER_GL();
3300
  glVertex4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3301 3302 3303
  LEAVE_GL();
}

3304
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3305
 *              glVertex4s (OPENGL32.@)
3306
 */
3307
void WINAPI wine_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
3308
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3309
  ENTER_GL();
3310
  glVertex4s( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3311 3312 3313
  LEAVE_GL();
}

3314
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3315
 *              glVertex4sv (OPENGL32.@)
3316
 */
3317
void WINAPI wine_glVertex4sv( GLshort* v ) {
3318
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3319
  ENTER_GL();
3320
  glVertex4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3321 3322 3323
  LEAVE_GL();
}

3324
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3325
 *              glVertexPointer (OPENGL32.@)
3326
 */
3327
void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
3328
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3329
  ENTER_GL();
3330
  glVertexPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3331 3332
  LEAVE_GL();
}
3333 3334 3335 3336 3337 3338 3339 3340 3341 3342

/***********************************************************************
 *              glViewport (OPENGL32.@)
 */
void WINAPI wine_glViewport( GLint x, GLint y, GLsizei width, GLsizei height ) {
  TRACE("(%d, %d, %d, %d)\n", x, y, width, height );
  ENTER_GL();
  glViewport( x, y, width, height );
  LEAVE_GL();
}