opengl_norm.c 107 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
 *              glBlendColor (OPENGL32.@)
84
 */
85
void WINAPI wine_glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) {
86
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
87
  ENTER_GL();
88
  glBlendColor( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
89 90 91
  LEAVE_GL();
}

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

102
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
103
 *              glBlendFunc (OPENGL32.@)
104
 */
105
void WINAPI wine_glBlendFunc( GLenum sfactor, GLenum dfactor ) {
106
  TRACE("(%d, %d)\n", sfactor, dfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
107
  ENTER_GL();
108
  glBlendFunc( sfactor, dfactor );
Lionel Ulmer's avatar
Lionel Ulmer committed
109 110 111
  LEAVE_GL();
}

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

122
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
123
 *              glCallLists (OPENGL32.@)
124
 */
125
void WINAPI wine_glCallLists( GLsizei n, GLenum type, GLvoid* lists ) {
126
  TRACE("(%d, %d, %p)\n", n, type, lists );
Lionel Ulmer's avatar
Lionel Ulmer committed
127
  ENTER_GL();
128
  glCallLists( n, type, lists );
Lionel Ulmer's avatar
Lionel Ulmer committed
129 130 131
  LEAVE_GL();
}

132
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
133
 *              glClear (OPENGL32.@)
134
 */
135
void WINAPI wine_glClear( GLbitfield mask ) {
136
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
137
  ENTER_GL();
138
  glClear( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
139 140 141
  LEAVE_GL();
}

142
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
143
 *              glClearAccum (OPENGL32.@)
144
 */
145
void WINAPI wine_glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
146
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
147
  ENTER_GL();
148
  glClearAccum( red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
149 150 151
  LEAVE_GL();
}

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

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

172
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
173
 *              glClearIndex (OPENGL32.@)
174
 */
175
void WINAPI wine_glClearIndex( GLfloat c ) {
176
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
177
  ENTER_GL();
178
  glClearIndex( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
179 180 181
  LEAVE_GL();
}

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

192
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
193
 *              glClipPlane (OPENGL32.@)
194
 */
195
void WINAPI wine_glClipPlane( GLenum plane, GLdouble* equation ) {
196
  TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
197
  ENTER_GL();
198
  glClipPlane( plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
199 200 201
  LEAVE_GL();
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

362
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
363
 *              glColor4b (OPENGL32.@)
364
 */
365
void WINAPI wine_glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ) {
366
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
367
  ENTER_GL();
368
  glColor4b( 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
 *              glColor4bv (OPENGL32.@)
374
 */
375
void WINAPI wine_glColor4bv( GLbyte* v ) {
376
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
377
  ENTER_GL();
378
  glColor4bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
379 380 381
  LEAVE_GL();
}

382
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
383
 *              glColor4d (OPENGL32.@)
384
 */
385
void WINAPI wine_glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ) {
386
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
387
  ENTER_GL();
388
  glColor4d( 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
 *              glColor4dv (OPENGL32.@)
394
 */
395
void WINAPI wine_glColor4dv( GLdouble* v ) {
396
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
397
  ENTER_GL();
398
  glColor4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
399 400 401
  LEAVE_GL();
}

402
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
403
 *              glColor4f (OPENGL32.@)
404
 */
405
void WINAPI wine_glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) {
406
  TRACE("(%f, %f, %f, %f)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
407
  ENTER_GL();
408
  glColor4f( 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
 *              glColor4fv (OPENGL32.@)
414
 */
415
void WINAPI wine_glColor4fv( GLfloat* v ) {
416
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
417
  ENTER_GL();
418
  glColor4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
419 420 421
  LEAVE_GL();
}

422
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
423
 *              glColor4i (OPENGL32.@)
424
 */
425
void WINAPI wine_glColor4i( GLint red, GLint green, GLint blue, GLint alpha ) {
426
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
427
  ENTER_GL();
428
  glColor4i( 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
 *              glColor4iv (OPENGL32.@)
434
 */
435
void WINAPI wine_glColor4iv( GLint* v ) {
436
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
437
  ENTER_GL();
438
  glColor4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
439 440 441
  LEAVE_GL();
}

442
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
443
 *              glColor4s (OPENGL32.@)
444
 */
445
void WINAPI wine_glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ) {
446
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
447
  ENTER_GL();
448
  glColor4s( 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
 *              glColor4sv (OPENGL32.@)
454
 */
455
void WINAPI wine_glColor4sv( GLshort* v ) {
456
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
457
  ENTER_GL();
458
  glColor4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
459 460 461
  LEAVE_GL();
}

462
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
463
 *              glColor4ub (OPENGL32.@)
464
 */
465
void WINAPI wine_glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) {
466
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
467
  ENTER_GL();
468
  glColor4ub( 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
 *              glColor4ubv (OPENGL32.@)
474
 */
475
void WINAPI wine_glColor4ubv( GLubyte* v ) {
476
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
477
  ENTER_GL();
478
  glColor4ubv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
479 480 481
  LEAVE_GL();
}

482
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
483
 *              glColor4ui (OPENGL32.@)
484
 */
485
void WINAPI wine_glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ) {
486
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
487
  ENTER_GL();
488
  glColor4ui( 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
 *              glColor4uiv (OPENGL32.@)
494
 */
495
void WINAPI wine_glColor4uiv( GLuint* v ) {
496
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
497
  ENTER_GL();
498
  glColor4uiv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
499 500 501
  LEAVE_GL();
}

502
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
503
 *              glColor4us (OPENGL32.@)
504
 */
505
void WINAPI wine_glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ) {
506
  TRACE("(%d, %d, %d, %d)\n", red, green, blue, alpha );
Lionel Ulmer's avatar
Lionel Ulmer committed
507
  ENTER_GL();
508
  glColor4us( 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
 *              glColor4usv (OPENGL32.@)
514
 */
515
void WINAPI wine_glColor4usv( GLushort* v ) {
516
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
517
  ENTER_GL();
518
  glColor4usv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
519 520 521
  LEAVE_GL();
}

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

532
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
533
 *              glColorMaterial (OPENGL32.@)
534
 */
535
void WINAPI wine_glColorMaterial( GLenum face, GLenum mode ) {
536
  TRACE("(%d, %d)\n", face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
537
  ENTER_GL();
538
  glColorMaterial( face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
539 540 541
  LEAVE_GL();
}

542
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
543
 *              glColorPointer (OPENGL32.@)
544
 */
545
void WINAPI wine_glColorPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
546
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
547
  ENTER_GL();
548
  glColorPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
549 550 551
  LEAVE_GL();
}

552
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
553
 *              glColorSubTable (OPENGL32.@)
554
 */
555
void WINAPI wine_glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, GLvoid* data ) {
556
  TRACE("(%d, %d, %d, %d, %d, %p)\n", target, start, count, format, type, data );
Lionel Ulmer's avatar
Lionel Ulmer committed
557
  ENTER_GL();
558
  glColorSubTable( target, start, count, format, type, data );
Lionel Ulmer's avatar
Lionel Ulmer committed
559 560 561
  LEAVE_GL();
}

562
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
563
 *              glColorTable (OPENGL32.@)
564
 */
565
void WINAPI wine_glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* table ) {
566
  TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
567
  ENTER_GL();
568
  glColorTable( target, internalformat, width, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
569 570 571
  LEAVE_GL();
}

572
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
573
 *              glColorTableParameterfv (OPENGL32.@)
574
 */
575
void WINAPI wine_glColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
576
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
577
  ENTER_GL();
578
  glColorTableParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
579 580 581
  LEAVE_GL();
}

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

592
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
593
 *              glConvolutionFilter1D (OPENGL32.@)
594
 */
595
void WINAPI wine_glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, GLvoid* image ) {
596
  TRACE("(%d, %d, %d, %d, %d, %p)\n", target, internalformat, width, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
597
  ENTER_GL();
598
  glConvolutionFilter1D( target, internalformat, width, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
599 600 601
  LEAVE_GL();
}

602
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
603
 *              glConvolutionFilter2D (OPENGL32.@)
604
 */
605
void WINAPI wine_glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* image ) {
606
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, internalformat, width, height, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
607
  ENTER_GL();
608
  glConvolutionFilter2D( target, internalformat, width, height, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
609 610 611
  LEAVE_GL();
}

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

622
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
623
 *              glConvolutionParameterfv (OPENGL32.@)
624
 */
625
void WINAPI wine_glConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
626
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
627
  ENTER_GL();
628
  glConvolutionParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
629 630 631
  LEAVE_GL();
}

632
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
633
 *              glConvolutionParameteri (OPENGL32.@)
634
 */
635
void WINAPI wine_glConvolutionParameteri( GLenum target, GLenum pname, GLint params ) {
636
  TRACE("(%d, %d, %d)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
637
  ENTER_GL();
638
  glConvolutionParameteri( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
639 640 641
  LEAVE_GL();
}

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

652
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
653
 *              glCopyColorSubTable (OPENGL32.@)
654
 */
655
void WINAPI wine_glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ) {
656
  TRACE("(%d, %d, %d, %d, %d)\n", target, start, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
657
  ENTER_GL();
658
  glCopyColorSubTable( target, start, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
659 660 661
  LEAVE_GL();
}

662
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
663
 *              glCopyColorTable (OPENGL32.@)
664
 */
665
void WINAPI wine_glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ) {
666
  TRACE("(%d, %d, %d, %d, %d)\n", target, internalformat, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
667
  ENTER_GL();
668
  glCopyColorTable( target, internalformat, x, y, width );
Lionel Ulmer's avatar
Lionel Ulmer committed
669 670 671
  LEAVE_GL();
}

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

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

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

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

712
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
713
 *              glCopyTexImage2D (OPENGL32.@)
714
 */
715
void WINAPI wine_glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ) {
716
  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
717
  ENTER_GL();
718
  glCopyTexImage2D( target, level, internalformat, x, y, width, height, border );
Lionel Ulmer's avatar
Lionel Ulmer committed
719 720 721
  LEAVE_GL();
}

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

732
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
733
 *              glCopyTexSubImage2D (OPENGL32.@)
734
 */
735
void WINAPI wine_glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ) {
736
  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
737
  ENTER_GL();
738
  glCopyTexSubImage2D( target, level, xoffset, yoffset, x, y, width, height );
Lionel Ulmer's avatar
Lionel Ulmer committed
739 740 741
  LEAVE_GL();
}

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

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

762
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
763
 *              glDeleteLists (OPENGL32.@)
764
 */
765
void WINAPI wine_glDeleteLists( GLuint list, GLsizei range ) {
766
  TRACE("(%d, %d)\n", list, range );
Lionel Ulmer's avatar
Lionel Ulmer committed
767
  ENTER_GL();
768
  glDeleteLists( list, range );
Lionel Ulmer's avatar
Lionel Ulmer committed
769 770 771
  LEAVE_GL();
}

772
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
773
 *              glDeleteTextures (OPENGL32.@)
774
 */
775
void WINAPI wine_glDeleteTextures( GLsizei n, GLuint* textures ) {
776
  TRACE("(%d, %p)\n", n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
777
  ENTER_GL();
778
  glDeleteTextures( n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
779 780 781
  LEAVE_GL();
}

782
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
783
 *              glDepthFunc (OPENGL32.@)
784
 */
785
void WINAPI wine_glDepthFunc( GLenum func ) {
786
  TRACE("(%d)\n", func );
Lionel Ulmer's avatar
Lionel Ulmer committed
787
  ENTER_GL();
788
  glDepthFunc( func );
Lionel Ulmer's avatar
Lionel Ulmer committed
789 790 791
  LEAVE_GL();
}

792
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
793
 *              glDepthMask (OPENGL32.@)
794
 */
795
void WINAPI wine_glDepthMask( GLboolean flag ) {
796
  TRACE("(%d)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
797
  ENTER_GL();
798
  glDepthMask( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
799 800 801
  LEAVE_GL();
}

802
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
803
 *              glDepthRange (OPENGL32.@)
804
 */
805 806
void WINAPI wine_glDepthRange( GLclampd nearParam, GLclampd farParam ) {
  TRACE("(%f, %f)\n", nearParam, farParam );
Lionel Ulmer's avatar
Lionel Ulmer committed
807
  ENTER_GL();
808
  glDepthRange( nearParam, farParam );
Lionel Ulmer's avatar
Lionel Ulmer committed
809 810 811
  LEAVE_GL();
}

812 813 814 815 816 817 818 819 820 821
/***********************************************************************
 *              glDisable (OPENGL32.@)
 */
void WINAPI wine_glDisable( GLenum cap ) {
  TRACE("(%d)\n", cap );
  ENTER_GL();
  glDisable( cap );
  LEAVE_GL();
}

822
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
823
 *              glDisableClientState (OPENGL32.@)
824
 */
825
void WINAPI wine_glDisableClientState( GLenum array ) {
826
  TRACE("(%d)\n", array );
Lionel Ulmer's avatar
Lionel Ulmer committed
827
  ENTER_GL();
828
  glDisableClientState( array );
Lionel Ulmer's avatar
Lionel Ulmer committed
829 830 831
  LEAVE_GL();
}

832
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
833
 *              glDrawArrays (OPENGL32.@)
834
 */
835
void WINAPI wine_glDrawArrays( GLenum mode, GLint first, GLsizei count ) {
836
  TRACE("(%d, %d, %d)\n", mode, first, count );
Lionel Ulmer's avatar
Lionel Ulmer committed
837
  ENTER_GL();
838
  glDrawArrays( mode, first, count );
Lionel Ulmer's avatar
Lionel Ulmer committed
839 840 841
  LEAVE_GL();
}

842
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
843
 *              glDrawBuffer (OPENGL32.@)
844
 */
845
void WINAPI wine_glDrawBuffer( GLenum mode ) {
846
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
847
  ENTER_GL();
848
  glDrawBuffer( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
849 850 851
  LEAVE_GL();
}

852
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
853
 *              glDrawElements (OPENGL32.@)
854
 */
855
void WINAPI wine_glDrawElements( GLenum mode, GLsizei count, GLenum type, GLvoid* indices ) {
856
  TRACE("(%d, %d, %d, %p)\n", mode, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
857
  ENTER_GL();
858
  glDrawElements( mode, count, type, indices );
Lionel Ulmer's avatar
Lionel Ulmer committed
859 860 861
  LEAVE_GL();
}

862
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
863
 *              glDrawPixels (OPENGL32.@)
864
 */
865
void WINAPI wine_glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
866
  TRACE("(%d, %d, %d, %d, %p)\n", width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
867
  ENTER_GL();
868
  glDrawPixels( width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
869 870 871
  LEAVE_GL();
}

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

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

892
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
893
 *              glEdgeFlagPointer (OPENGL32.@)
894
 */
895
void WINAPI wine_glEdgeFlagPointer( GLsizei stride, GLvoid* pointer ) {
896
  TRACE("(%d, %p)\n", stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
897
  ENTER_GL();
898
  glEdgeFlagPointer( stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
899 900 901
  LEAVE_GL();
}

902
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
903
 *              glEdgeFlagv (OPENGL32.@)
904
 */
905
void WINAPI wine_glEdgeFlagv( GLboolean* flag ) {
906
  TRACE("(%p)\n", flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
907
  ENTER_GL();
908
  glEdgeFlagv( flag );
Lionel Ulmer's avatar
Lionel Ulmer committed
909 910 911
  LEAVE_GL();
}

912 913 914 915 916 917 918 919 920 921
/***********************************************************************
 *              glEnable (OPENGL32.@)
 */
void WINAPI wine_glEnable( GLenum cap ) {
  TRACE("(%d)\n", cap );
  ENTER_GL();
  glEnable( cap );
  LEAVE_GL();
}

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

932
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
933
 *              glEnd (OPENGL32.@)
934
 */
935
void WINAPI wine_glEnd( void ) {
936
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
937
  ENTER_GL();
938
  glEnd( );
Lionel Ulmer's avatar
Lionel Ulmer committed
939 940 941
  LEAVE_GL();
}

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

952
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
953
 *              glEvalCoord1d (OPENGL32.@)
954
 */
955
void WINAPI wine_glEvalCoord1d( GLdouble u ) {
956
  TRACE("(%f)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
957
  ENTER_GL();
958
  glEvalCoord1d( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
959 960 961
  LEAVE_GL();
}

962
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
963
 *              glEvalCoord1dv (OPENGL32.@)
964
 */
965
void WINAPI wine_glEvalCoord1dv( GLdouble* u ) {
966
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
967
  ENTER_GL();
968
  glEvalCoord1dv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
969 970 971
  LEAVE_GL();
}

972
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
973
 *              glEvalCoord1f (OPENGL32.@)
974
 */
975
void WINAPI wine_glEvalCoord1f( GLfloat u ) {
976
  TRACE("(%f)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
977
  ENTER_GL();
978
  glEvalCoord1f( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
979 980 981
  LEAVE_GL();
}

982
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
983
 *              glEvalCoord1fv (OPENGL32.@)
984
 */
985
void WINAPI wine_glEvalCoord1fv( GLfloat* u ) {
986
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
987
  ENTER_GL();
988
  glEvalCoord1fv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
989 990 991
  LEAVE_GL();
}

992
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
993
 *              glEvalCoord2d (OPENGL32.@)
994
 */
995
void WINAPI wine_glEvalCoord2d( GLdouble u, GLdouble v ) {
996
  TRACE("(%f, %f)\n", u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
997
  ENTER_GL();
998
  glEvalCoord2d( u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
999 1000 1001
  LEAVE_GL();
}

1002
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1003
 *              glEvalCoord2dv (OPENGL32.@)
1004
 */
1005
void WINAPI wine_glEvalCoord2dv( GLdouble* u ) {
1006
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1007
  ENTER_GL();
1008
  glEvalCoord2dv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1009 1010 1011
  LEAVE_GL();
}

1012
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1013
 *              glEvalCoord2f (OPENGL32.@)
1014
 */
1015
void WINAPI wine_glEvalCoord2f( GLfloat u, GLfloat v ) {
1016
  TRACE("(%f, %f)\n", u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1017
  ENTER_GL();
1018
  glEvalCoord2f( u, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1019 1020 1021
  LEAVE_GL();
}

1022
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1023
 *              glEvalCoord2fv (OPENGL32.@)
1024
 */
1025
void WINAPI wine_glEvalCoord2fv( GLfloat* u ) {
1026
  TRACE("(%p)\n", u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1027
  ENTER_GL();
1028
  glEvalCoord2fv( u );
Lionel Ulmer's avatar
Lionel Ulmer committed
1029 1030 1031
  LEAVE_GL();
}

1032
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1033
 *              glEvalMesh1 (OPENGL32.@)
1034
 */
1035
void WINAPI wine_glEvalMesh1( GLenum mode, GLint i1, GLint i2 ) {
1036
  TRACE("(%d, %d, %d)\n", mode, i1, i2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1037
  ENTER_GL();
1038
  glEvalMesh1( mode, i1, i2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1039 1040 1041
  LEAVE_GL();
}

1042
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1043
 *              glEvalMesh2 (OPENGL32.@)
1044
 */
1045
void WINAPI wine_glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ) {
1046
  TRACE("(%d, %d, %d, %d, %d)\n", mode, i1, i2, j1, j2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1047
  ENTER_GL();
1048
  glEvalMesh2( mode, i1, i2, j1, j2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1049 1050 1051
  LEAVE_GL();
}

1052
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1053
 *              glEvalPoint1 (OPENGL32.@)
1054
 */
1055
void WINAPI wine_glEvalPoint1( GLint i ) {
1056
  TRACE("(%d)\n", i );
Lionel Ulmer's avatar
Lionel Ulmer committed
1057
  ENTER_GL();
1058
  glEvalPoint1( i );
Lionel Ulmer's avatar
Lionel Ulmer committed
1059 1060 1061
  LEAVE_GL();
}

1062
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1063
 *              glEvalPoint2 (OPENGL32.@)
1064
 */
1065
void WINAPI wine_glEvalPoint2( GLint i, GLint j ) {
1066
  TRACE("(%d, %d)\n", i, j );
Lionel Ulmer's avatar
Lionel Ulmer committed
1067
  ENTER_GL();
1068
  glEvalPoint2( i, j );
Lionel Ulmer's avatar
Lionel Ulmer committed
1069 1070 1071
  LEAVE_GL();
}

1072
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1073
 *              glFeedbackBuffer (OPENGL32.@)
1074
 */
1075
void WINAPI wine_glFeedbackBuffer( GLsizei size, GLenum type, GLfloat* buffer ) {
1076
  TRACE("(%d, %d, %p)\n", size, type, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1077
  ENTER_GL();
1078
  glFeedbackBuffer( size, type, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1079 1080 1081
  LEAVE_GL();
}

1082
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1083
 *              glFogf (OPENGL32.@)
1084
 */
1085
void WINAPI wine_glFogf( GLenum pname, GLfloat param ) {
1086
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1087
  ENTER_GL();
1088
  glFogf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1089 1090 1091
  LEAVE_GL();
}

1092
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1093
 *              glFogfv (OPENGL32.@)
1094
 */
1095
void WINAPI wine_glFogfv( GLenum pname, GLfloat* params ) {
1096
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1097
  ENTER_GL();
1098
  glFogfv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1099 1100 1101
  LEAVE_GL();
}

1102
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1103
 *              glFogi (OPENGL32.@)
1104
 */
1105
void WINAPI wine_glFogi( GLenum pname, GLint param ) {
1106
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1107
  ENTER_GL();
1108
  glFogi( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1109 1110 1111
  LEAVE_GL();
}

1112
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1113
 *              glFogiv (OPENGL32.@)
1114
 */
1115
void WINAPI wine_glFogiv( GLenum pname, GLint* params ) {
1116
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1117
  ENTER_GL();
1118
  glFogiv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1119 1120 1121
  LEAVE_GL();
}

1122
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1123
 *              glFrontFace (OPENGL32.@)
1124
 */
1125
void WINAPI wine_glFrontFace( GLenum mode ) {
1126
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1127
  ENTER_GL();
1128
  glFrontFace( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1129 1130 1131
  LEAVE_GL();
}

1132
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1133
 *              glFrustum (OPENGL32.@)
1134
 */
1135
void WINAPI wine_glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
1136
  TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
1137
  ENTER_GL();
1138
  glFrustum( left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
1139 1140 1141
  LEAVE_GL();
}

1142
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1143
 *              glGenLists (OPENGL32.@)
1144
 */
1145 1146
GLuint WINAPI wine_glGenLists( GLsizei range ) {
  GLuint ret_value;
1147
  TRACE("(%d)\n", range );
Lionel Ulmer's avatar
Lionel Ulmer committed
1148
  ENTER_GL();
1149
  ret_value = glGenLists( range );
Lionel Ulmer's avatar
Lionel Ulmer committed
1150
  LEAVE_GL();
1151
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1152 1153
}

1154
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1155
 *              glGenTextures (OPENGL32.@)
1156
 */
1157
void WINAPI wine_glGenTextures( GLsizei n, GLuint* textures ) {
1158
  TRACE("(%d, %p)\n", n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
1159
  ENTER_GL();
1160
  glGenTextures( n, textures );
Lionel Ulmer's avatar
Lionel Ulmer committed
1161 1162 1163
  LEAVE_GL();
}

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

1174
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1175
 *              glGetClipPlane (OPENGL32.@)
1176
 */
1177
void WINAPI wine_glGetClipPlane( GLenum plane, GLdouble* equation ) {
1178
  TRACE("(%d, %p)\n", plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
1179
  ENTER_GL();
1180
  glGetClipPlane( plane, equation );
Lionel Ulmer's avatar
Lionel Ulmer committed
1181 1182 1183
  LEAVE_GL();
}

1184
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1185
 *              glGetColorTable (OPENGL32.@)
1186
 */
1187
void WINAPI wine_glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid* table ) {
1188
  TRACE("(%d, %d, %d, %p)\n", target, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
1189
  ENTER_GL();
1190
  glGetColorTable( target, format, type, table );
Lionel Ulmer's avatar
Lionel Ulmer committed
1191 1192 1193
  LEAVE_GL();
}

1194
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1195
 *              glGetColorTableParameterfv (OPENGL32.@)
1196
 */
1197
void WINAPI wine_glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1198
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1199
  ENTER_GL();
1200
  glGetColorTableParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1201 1202 1203
  LEAVE_GL();
}

1204
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1205
 *              glGetColorTableParameteriv (OPENGL32.@)
1206
 */
1207
void WINAPI wine_glGetColorTableParameteriv( GLenum target, GLenum pname, GLint* params ) {
1208
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1209
  ENTER_GL();
1210
  glGetColorTableParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1211 1212 1213
  LEAVE_GL();
}

1214
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1215
 *              glGetConvolutionFilter (OPENGL32.@)
1216
 */
1217
void WINAPI wine_glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid* image ) {
1218
  TRACE("(%d, %d, %d, %p)\n", target, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
1219
  ENTER_GL();
1220
  glGetConvolutionFilter( target, format, type, image );
Lionel Ulmer's avatar
Lionel Ulmer committed
1221 1222 1223
  LEAVE_GL();
}

1224
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1225
 *              glGetConvolutionParameterfv (OPENGL32.@)
1226
 */
1227
void WINAPI wine_glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1228
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1229
  ENTER_GL();
1230
  glGetConvolutionParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1231 1232 1233
  LEAVE_GL();
}

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

1244
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1245
 *              glGetDoublev (OPENGL32.@)
1246
 */
1247
void WINAPI wine_glGetDoublev( GLenum pname, GLdouble* params ) {
1248
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1249
  ENTER_GL();
1250
  glGetDoublev( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1251 1252 1253
  LEAVE_GL();
}

1254
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1255
 *              glGetError (OPENGL32.@)
1256
 */
1257
GLenum WINAPI wine_glGetError( void ) {
1258
  GLenum ret_value;
1259
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1260
  ENTER_GL();
1261
  ret_value = glGetError( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1262
  LEAVE_GL();
1263
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1264 1265
}

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

1276
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1277
 *              glGetHistogram (OPENGL32.@)
1278
 */
1279
void WINAPI wine_glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
1280
  TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1281
  ENTER_GL();
1282
  glGetHistogram( target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1283 1284 1285
  LEAVE_GL();
}

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

1296
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1297
 *              glGetHistogramParameteriv (OPENGL32.@)
1298
 */
1299
void WINAPI wine_glGetHistogramParameteriv( GLenum target, GLenum pname, GLint* params ) {
1300
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1301
  ENTER_GL();
1302
  glGetHistogramParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1303 1304 1305
  LEAVE_GL();
}

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

1316
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1317
 *              glGetLightiv (OPENGL32.@)
1318
 */
1319
void WINAPI wine_glGetLightiv( GLenum light, GLenum pname, GLint* params ) {
1320
  TRACE("(%d, %d, %p)\n", light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1321
  ENTER_GL();
1322
  glGetLightiv( light, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1323 1324 1325
  LEAVE_GL();
}

1326
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1327
 *              glGetMapdv (OPENGL32.@)
1328
 */
1329
void WINAPI wine_glGetMapdv( GLenum target, GLenum query, GLdouble* v ) {
1330
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1331
  ENTER_GL();
1332
  glGetMapdv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1333 1334 1335
  LEAVE_GL();
}

1336
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1337
 *              glGetMapfv (OPENGL32.@)
1338
 */
1339
void WINAPI wine_glGetMapfv( GLenum target, GLenum query, GLfloat* v ) {
1340
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1341
  ENTER_GL();
1342
  glGetMapfv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1343 1344 1345
  LEAVE_GL();
}

1346
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1347
 *              glGetMapiv (OPENGL32.@)
1348
 */
1349
void WINAPI wine_glGetMapiv( GLenum target, GLenum query, GLint* v ) {
1350
  TRACE("(%d, %d, %p)\n", target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1351
  ENTER_GL();
1352
  glGetMapiv( target, query, v );
Lionel Ulmer's avatar
Lionel Ulmer committed
1353 1354 1355
  LEAVE_GL();
}

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

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

1376
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1377
 *              glGetMinmax (OPENGL32.@)
1378
 */
1379
void WINAPI wine_glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values ) {
1380
  TRACE("(%d, %d, %d, %d, %p)\n", target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1381
  ENTER_GL();
1382
  glGetMinmax( target, reset, format, type, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1383 1384 1385
  LEAVE_GL();
}

1386
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1387
 *              glGetMinmaxParameterfv (OPENGL32.@)
1388
 */
1389
void WINAPI wine_glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1390
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1391
  ENTER_GL();
1392
  glGetMinmaxParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1393 1394 1395
  LEAVE_GL();
}

1396
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1397
 *              glGetMinmaxParameteriv (OPENGL32.@)
1398
 */
1399
void WINAPI wine_glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint* params ) {
1400
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1401
  ENTER_GL();
1402
  glGetMinmaxParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1403 1404 1405
  LEAVE_GL();
}

1406
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1407
 *              glGetPixelMapfv (OPENGL32.@)
1408
 */
1409
void WINAPI wine_glGetPixelMapfv( GLenum map, GLfloat* values ) {
1410
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1411
  ENTER_GL();
1412
  glGetPixelMapfv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1413 1414 1415
  LEAVE_GL();
}

1416
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1417
 *              glGetPixelMapuiv (OPENGL32.@)
1418
 */
1419
void WINAPI wine_glGetPixelMapuiv( GLenum map, GLuint* values ) {
1420
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1421
  ENTER_GL();
1422
  glGetPixelMapuiv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1423 1424 1425
  LEAVE_GL();
}

1426
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1427
 *              glGetPixelMapusv (OPENGL32.@)
1428
 */
1429
void WINAPI wine_glGetPixelMapusv( GLenum map, GLushort* values ) {
1430
  TRACE("(%d, %p)\n", map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1431
  ENTER_GL();
1432
  glGetPixelMapusv( map, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
1433 1434 1435
  LEAVE_GL();
}

1436
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1437
 *              glGetPointerv (OPENGL32.@)
1438
 */
1439
void WINAPI wine_glGetPointerv( GLenum pname, GLvoid** params ) {
1440
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1441
  ENTER_GL();
1442
  glGetPointerv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1443 1444 1445
  LEAVE_GL();
}

1446
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1447
 *              glGetPolygonStipple (OPENGL32.@)
1448
 */
1449
void WINAPI wine_glGetPolygonStipple( GLubyte* mask ) {
1450
  TRACE("(%p)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1451
  ENTER_GL();
1452
  glGetPolygonStipple( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1453 1454 1455
  LEAVE_GL();
}

1456
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1457
 *              glGetSeparableFilter (OPENGL32.@)
1458
 */
1459
void WINAPI wine_glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span ) {
1460
  TRACE("(%d, %d, %d, %p, %p, %p)\n", target, format, type, row, column, span );
Lionel Ulmer's avatar
Lionel Ulmer committed
1461
  ENTER_GL();
1462
  glGetSeparableFilter( target, format, type, row, column, span );
Lionel Ulmer's avatar
Lionel Ulmer committed
1463 1464 1465
  LEAVE_GL();
}

1466
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1467
 *              glGetTexEnvfv (OPENGL32.@)
1468
 */
1469
void WINAPI wine_glGetTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
1470
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1471
  ENTER_GL();
1472
  glGetTexEnvfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1473 1474 1475
  LEAVE_GL();
}

1476
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1477
 *              glGetTexEnviv (OPENGL32.@)
1478
 */
1479
void WINAPI wine_glGetTexEnviv( GLenum target, GLenum pname, GLint* params ) {
1480
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1481
  ENTER_GL();
1482
  glGetTexEnviv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1483 1484 1485
  LEAVE_GL();
}

1486
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1487
 *              glGetTexGendv (OPENGL32.@)
1488
 */
1489
void WINAPI wine_glGetTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
1490
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1491
  ENTER_GL();
1492
  glGetTexGendv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1493 1494 1495
  LEAVE_GL();
}

1496
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1497
 *              glGetTexGenfv (OPENGL32.@)
1498
 */
1499
void WINAPI wine_glGetTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
1500
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1501
  ENTER_GL();
1502
  glGetTexGenfv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1503 1504 1505
  LEAVE_GL();
}

1506
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1507
 *              glGetTexGeniv (OPENGL32.@)
1508
 */
1509
void WINAPI wine_glGetTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
1510
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1511
  ENTER_GL();
1512
  glGetTexGeniv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1513 1514 1515
  LEAVE_GL();
}

1516
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1517
 *              glGetTexImage (OPENGL32.@)
1518
 */
1519
void WINAPI wine_glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels ) {
1520
  TRACE("(%d, %d, %d, %d, %p)\n", target, level, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
1521
  ENTER_GL();
1522
  glGetTexImage( target, level, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
1523 1524 1525
  LEAVE_GL();
}

1526
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1527
 *              glGetTexLevelParameterfv (OPENGL32.@)
1528
 */
1529
void WINAPI wine_glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat* params ) {
1530
  TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1531
  ENTER_GL();
1532
  glGetTexLevelParameterfv( target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1533 1534 1535
  LEAVE_GL();
}

1536
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1537
 *              glGetTexLevelParameteriv (OPENGL32.@)
1538
 */
1539
void WINAPI wine_glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint* params ) {
1540
  TRACE("(%d, %d, %d, %p)\n", target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1541
  ENTER_GL();
1542
  glGetTexLevelParameteriv( target, level, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1543 1544 1545
  LEAVE_GL();
}

1546
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1547
 *              glGetTexParameterfv (OPENGL32.@)
1548
 */
1549
void WINAPI wine_glGetTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
1550
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1551
  ENTER_GL();
1552
  glGetTexParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1553 1554 1555
  LEAVE_GL();
}

1556
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1557
 *              glGetTexParameteriv (OPENGL32.@)
1558
 */
1559
void WINAPI wine_glGetTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
1560
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1561
  ENTER_GL();
1562
  glGetTexParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1563 1564 1565
  LEAVE_GL();
}

1566
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1567
 *              glHint (OPENGL32.@)
1568
 */
1569
void WINAPI wine_glHint( GLenum target, GLenum mode ) {
1570
  TRACE("(%d, %d)\n", target, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1571
  ENTER_GL();
1572
  glHint( target, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1573 1574 1575
  LEAVE_GL();
}

1576
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1577
 *              glHistogram (OPENGL32.@)
1578
 */
1579
void WINAPI wine_glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ) {
1580
  TRACE("(%d, %d, %d, %d)\n", target, width, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
1581
  ENTER_GL();
1582
  glHistogram( target, width, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
1583 1584 1585
  LEAVE_GL();
}

1586
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1587
 *              glIndexMask (OPENGL32.@)
1588
 */
1589
void WINAPI wine_glIndexMask( GLuint mask ) {
1590
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1591
  ENTER_GL();
1592
  glIndexMask( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
1593 1594 1595
  LEAVE_GL();
}

1596
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1597
 *              glIndexPointer (OPENGL32.@)
1598
 */
1599
void WINAPI wine_glIndexPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
1600
  TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1601
  ENTER_GL();
1602
  glIndexPointer( type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1603 1604 1605
  LEAVE_GL();
}

1606
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1607
 *              glIndexd (OPENGL32.@)
1608
 */
1609
void WINAPI wine_glIndexd( GLdouble c ) {
1610
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1611
  ENTER_GL();
1612
  glIndexd( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1613 1614 1615
  LEAVE_GL();
}

1616
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1617
 *              glIndexdv (OPENGL32.@)
1618
 */
1619
void WINAPI wine_glIndexdv( GLdouble* c ) {
1620
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1621
  ENTER_GL();
1622
  glIndexdv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1623 1624 1625
  LEAVE_GL();
}

1626
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1627
 *              glIndexf (OPENGL32.@)
1628
 */
1629
void WINAPI wine_glIndexf( GLfloat c ) {
1630
  TRACE("(%f)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1631
  ENTER_GL();
1632
  glIndexf( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1633 1634 1635
  LEAVE_GL();
}

1636
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1637
 *              glIndexfv (OPENGL32.@)
1638
 */
1639
void WINAPI wine_glIndexfv( GLfloat* c ) {
1640
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1641
  ENTER_GL();
1642
  glIndexfv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1643 1644 1645
  LEAVE_GL();
}

1646
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1647
 *              glIndexi (OPENGL32.@)
1648
 */
1649
void WINAPI wine_glIndexi( GLint c ) {
1650
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1651
  ENTER_GL();
1652
  glIndexi( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1653 1654 1655
  LEAVE_GL();
}

1656
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1657
 *              glIndexiv (OPENGL32.@)
1658
 */
1659
void WINAPI wine_glIndexiv( GLint* c ) {
1660
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1661
  ENTER_GL();
1662
  glIndexiv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1663 1664 1665
  LEAVE_GL();
}

1666
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1667
 *              glIndexs (OPENGL32.@)
1668
 */
1669
void WINAPI wine_glIndexs( GLshort c ) {
1670
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1671
  ENTER_GL();
1672
  glIndexs( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1673 1674 1675
  LEAVE_GL();
}

1676
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1677
 *              glIndexsv (OPENGL32.@)
1678
 */
1679
void WINAPI wine_glIndexsv( GLshort* c ) {
1680
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1681
  ENTER_GL();
1682
  glIndexsv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1683 1684 1685
  LEAVE_GL();
}

1686
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1687
 *              glIndexub (OPENGL32.@)
1688
 */
1689
void WINAPI wine_glIndexub( GLubyte c ) {
1690
  TRACE("(%d)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1691
  ENTER_GL();
1692
  glIndexub( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1693 1694 1695
  LEAVE_GL();
}

1696
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1697
 *              glIndexubv (OPENGL32.@)
1698
 */
1699
void WINAPI wine_glIndexubv( GLubyte* c ) {
1700
  TRACE("(%p)\n", c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1701
  ENTER_GL();
1702
  glIndexubv( c );
Lionel Ulmer's avatar
Lionel Ulmer committed
1703 1704 1705
  LEAVE_GL();
}

1706
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1707
 *              glInitNames (OPENGL32.@)
1708
 */
1709
void WINAPI wine_glInitNames( void ) {
1710
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1711
  ENTER_GL();
1712
  glInitNames( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1713 1714 1715
  LEAVE_GL();
}

1716
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1717
 *              glInterleavedArrays (OPENGL32.@)
1718
 */
1719
void WINAPI wine_glInterleavedArrays( GLenum format, GLsizei stride, GLvoid* pointer ) {
1720
  TRACE("(%d, %d, %p)\n", format, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1721
  ENTER_GL();
1722
  glInterleavedArrays( format, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
1723 1724 1725
  LEAVE_GL();
}

1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737
/***********************************************************************
 *              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;
}

1738
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1739
 *              glIsList (OPENGL32.@)
1740
 */
1741 1742
GLboolean WINAPI wine_glIsList( GLuint list ) {
  GLboolean ret_value;
1743
  TRACE("(%d)\n", list );
Lionel Ulmer's avatar
Lionel Ulmer committed
1744
  ENTER_GL();
1745
  ret_value = glIsList( list );
Lionel Ulmer's avatar
Lionel Ulmer committed
1746
  LEAVE_GL();
1747
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1748 1749
}

1750
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1751
 *              glIsTexture (OPENGL32.@)
1752
 */
1753 1754
GLboolean WINAPI wine_glIsTexture( GLuint texture ) {
  GLboolean ret_value;
1755
  TRACE("(%d)\n", texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
1756
  ENTER_GL();
1757
  ret_value = glIsTexture( texture );
Lionel Ulmer's avatar
Lionel Ulmer committed
1758
  LEAVE_GL();
1759
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
1760 1761
}

1762
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1763
 *              glLightModelf (OPENGL32.@)
1764
 */
1765
void WINAPI wine_glLightModelf( GLenum pname, GLfloat param ) {
1766
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1767
  ENTER_GL();
1768
  glLightModelf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1769 1770 1771
  LEAVE_GL();
}

1772
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1773
 *              glLightModelfv (OPENGL32.@)
1774
 */
1775
void WINAPI wine_glLightModelfv( GLenum pname, GLfloat* params ) {
1776
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1777
  ENTER_GL();
1778
  glLightModelfv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1779 1780 1781
  LEAVE_GL();
}

1782
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1783
 *              glLightModeli (OPENGL32.@)
1784
 */
1785
void WINAPI wine_glLightModeli( GLenum pname, GLint param ) {
1786
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1787
  ENTER_GL();
1788
  glLightModeli( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1789 1790 1791
  LEAVE_GL();
}

1792
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1793
 *              glLightModeliv (OPENGL32.@)
1794
 */
1795
void WINAPI wine_glLightModeliv( GLenum pname, GLint* params ) {
1796
  TRACE("(%d, %p)\n", pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1797
  ENTER_GL();
1798
  glLightModeliv( pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
1799 1800 1801
  LEAVE_GL();
}

1802
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1803
 *              glLightf (OPENGL32.@)
1804
 */
1805
void WINAPI wine_glLightf( GLenum light, GLenum pname, GLfloat param ) {
1806
  TRACE("(%d, %d, %f)\n", light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1807
  ENTER_GL();
1808
  glLightf( light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1809 1810 1811
  LEAVE_GL();
}

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

1822
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1823
 *              glLighti (OPENGL32.@)
1824
 */
1825
void WINAPI wine_glLighti( GLenum light, GLenum pname, GLint param ) {
1826
  TRACE("(%d, %d, %d)\n", light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1827
  ENTER_GL();
1828
  glLighti( light, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
1829 1830 1831
  LEAVE_GL();
}

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

1842
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1843
 *              glLineStipple (OPENGL32.@)
1844
 */
1845
void WINAPI wine_glLineStipple( GLint factor, GLushort pattern ) {
1846
  TRACE("(%d, %d)\n", factor, pattern );
Lionel Ulmer's avatar
Lionel Ulmer committed
1847
  ENTER_GL();
1848
  glLineStipple( factor, pattern );
Lionel Ulmer's avatar
Lionel Ulmer committed
1849 1850 1851
  LEAVE_GL();
}

1852
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1853
 *              glLineWidth (OPENGL32.@)
1854
 */
1855
void WINAPI wine_glLineWidth( GLfloat width ) {
1856
  TRACE("(%f)\n", width );
Lionel Ulmer's avatar
Lionel Ulmer committed
1857
  ENTER_GL();
1858
  glLineWidth( width );
Lionel Ulmer's avatar
Lionel Ulmer committed
1859 1860 1861
  LEAVE_GL();
}

1862
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1863
 *              glListBase (OPENGL32.@)
1864
 */
1865
void WINAPI wine_glListBase( GLuint base ) {
1866
  TRACE("(%d)\n", base );
Lionel Ulmer's avatar
Lionel Ulmer committed
1867
  ENTER_GL();
1868
  glListBase( base );
Lionel Ulmer's avatar
Lionel Ulmer committed
1869 1870 1871
  LEAVE_GL();
}

1872
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1873
 *              glLoadIdentity (OPENGL32.@)
1874
 */
1875
void WINAPI wine_glLoadIdentity( void ) {
1876
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
1877
  ENTER_GL();
1878
  glLoadIdentity( );
Lionel Ulmer's avatar
Lionel Ulmer committed
1879 1880 1881
  LEAVE_GL();
}

1882
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1883
 *              glLoadMatrixd (OPENGL32.@)
1884
 */
1885
void WINAPI wine_glLoadMatrixd( GLdouble* m ) {
1886
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1887
  ENTER_GL();
1888
  glLoadMatrixd( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1889 1890 1891
  LEAVE_GL();
}

1892
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1893
 *              glLoadMatrixf (OPENGL32.@)
1894
 */
1895
void WINAPI wine_glLoadMatrixf( GLfloat* m ) {
1896
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1897
  ENTER_GL();
1898
  glLoadMatrixf( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
1899 1900 1901
  LEAVE_GL();
}

1902
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1903
 *              glLoadName (OPENGL32.@)
1904
 */
1905
void WINAPI wine_glLoadName( GLuint name ) {
1906
  TRACE("(%d)\n", name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1907
  ENTER_GL();
1908
  glLoadName( name );
Lionel Ulmer's avatar
Lionel Ulmer committed
1909 1910 1911
  LEAVE_GL();
}

1912
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1913
 *              glLogicOp (OPENGL32.@)
1914
 */
1915
void WINAPI wine_glLogicOp( GLenum opcode ) {
1916
  TRACE("(%d)\n", opcode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1917
  ENTER_GL();
1918
  glLogicOp( opcode );
Lionel Ulmer's avatar
Lionel Ulmer committed
1919 1920 1921
  LEAVE_GL();
}

1922
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1923
 *              glMap1d (OPENGL32.@)
1924
 */
1925
void WINAPI wine_glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, GLdouble* points ) {
1926
  TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1927
  ENTER_GL();
1928
  glMap1d( target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1929 1930 1931
  LEAVE_GL();
}

1932
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1933
 *              glMap1f (OPENGL32.@)
1934
 */
1935
void WINAPI wine_glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, GLfloat* points ) {
1936
  TRACE("(%d, %f, %f, %d, %d, %p)\n", target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1937
  ENTER_GL();
1938
  glMap1f( target, u1, u2, stride, order, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1939 1940 1941
  LEAVE_GL();
}

1942
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1943
 *              glMap2d (OPENGL32.@)
1944
 */
1945
void WINAPI wine_glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble* points ) {
1946
  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
1947
  ENTER_GL();
1948
  glMap2d( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1949 1950 1951
  LEAVE_GL();
}

1952
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1953
 *              glMap2f (OPENGL32.@)
1954
 */
1955
void WINAPI wine_glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat* points ) {
1956
  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
1957
  ENTER_GL();
1958
  glMap2f( target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points );
Lionel Ulmer's avatar
Lionel Ulmer committed
1959 1960 1961
  LEAVE_GL();
}

1962
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1963
 *              glMapGrid1d (OPENGL32.@)
1964
 */
1965
void WINAPI wine_glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ) {
1966
  TRACE("(%d, %f, %f)\n", un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1967
  ENTER_GL();
1968
  glMapGrid1d( un, u1, u2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1969 1970 1971
  LEAVE_GL();
}

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

1982
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1983
 *              glMapGrid2d (OPENGL32.@)
1984
 */
1985
void WINAPI wine_glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ) {
1986
  TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1987
  ENTER_GL();
1988
  glMapGrid2d( un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1989 1990 1991
  LEAVE_GL();
}

1992
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
1993
 *              glMapGrid2f (OPENGL32.@)
1994
 */
1995
void WINAPI wine_glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ) {
1996
  TRACE("(%d, %f, %f, %d, %f, %f)\n", un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1997
  ENTER_GL();
1998
  glMapGrid2f( un, u1, u2, vn, v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
1999 2000 2001
  LEAVE_GL();
}

2002
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2003
 *              glMaterialf (OPENGL32.@)
2004
 */
2005
void WINAPI wine_glMaterialf( GLenum face, GLenum pname, GLfloat param ) {
2006
  TRACE("(%d, %d, %f)\n", face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2007
  ENTER_GL();
2008
  glMaterialf( face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2009 2010 2011
  LEAVE_GL();
}

2012
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2013
 *              glMaterialfv (OPENGL32.@)
2014
 */
2015
void WINAPI wine_glMaterialfv( GLenum face, GLenum pname, GLfloat* params ) {
2016
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2017
  ENTER_GL();
2018
  glMaterialfv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2019 2020 2021
  LEAVE_GL();
}

2022
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2023
 *              glMateriali (OPENGL32.@)
2024
 */
2025
void WINAPI wine_glMateriali( GLenum face, GLenum pname, GLint param ) {
2026
  TRACE("(%d, %d, %d)\n", face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2027
  ENTER_GL();
2028
  glMateriali( face, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2029 2030 2031
  LEAVE_GL();
}

2032
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2033
 *              glMaterialiv (OPENGL32.@)
2034
 */
2035
void WINAPI wine_glMaterialiv( GLenum face, GLenum pname, GLint* params ) {
2036
  TRACE("(%d, %d, %p)\n", face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2037
  ENTER_GL();
2038
  glMaterialiv( face, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
2039 2040 2041
  LEAVE_GL();
}

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

2052
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2053
 *              glMinmax (OPENGL32.@)
2054
 */
2055
void WINAPI wine_glMinmax( GLenum target, GLenum internalformat, GLboolean sink ) {
2056
  TRACE("(%d, %d, %d)\n", target, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
2057
  ENTER_GL();
2058
  glMinmax( target, internalformat, sink );
Lionel Ulmer's avatar
Lionel Ulmer committed
2059 2060 2061
  LEAVE_GL();
}

2062
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2063
 *              glMultMatrixd (OPENGL32.@)
2064
 */
2065
void WINAPI wine_glMultMatrixd( GLdouble* m ) {
2066
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2067
  ENTER_GL();
2068
  glMultMatrixd( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2069 2070 2071
  LEAVE_GL();
}

2072
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2073
 *              glMultMatrixf (OPENGL32.@)
2074
 */
2075
void WINAPI wine_glMultMatrixf( GLfloat* m ) {
2076
  TRACE("(%p)\n", m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2077
  ENTER_GL();
2078
  glMultMatrixf( m );
Lionel Ulmer's avatar
Lionel Ulmer committed
2079 2080 2081
  LEAVE_GL();
}

2082
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2083
 *              glNewList (OPENGL32.@)
2084
 */
2085
void WINAPI wine_glNewList( GLuint list, GLenum mode ) {
2086
  TRACE("(%d, %d)\n", list, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2087
  ENTER_GL();
2088
  glNewList( list, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2089 2090 2091
  LEAVE_GL();
}

2092
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2093
 *              glNormal3b (OPENGL32.@)
2094
 */
2095
void WINAPI wine_glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ) {
2096
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2097
  ENTER_GL();
2098
  glNormal3b( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2099 2100 2101
  LEAVE_GL();
}

2102
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2103
 *              glNormal3bv (OPENGL32.@)
2104
 */
2105
void WINAPI wine_glNormal3bv( GLbyte* v ) {
2106
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2107
  ENTER_GL();
2108
  glNormal3bv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2109 2110 2111
  LEAVE_GL();
}

2112
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2113
 *              glNormal3d (OPENGL32.@)
2114
 */
2115
void WINAPI wine_glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ) {
2116
  TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2117
  ENTER_GL();
2118
  glNormal3d( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2119 2120 2121
  LEAVE_GL();
}

2122
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2123
 *              glNormal3dv (OPENGL32.@)
2124
 */
2125
void WINAPI wine_glNormal3dv( GLdouble* v ) {
2126
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2127
  ENTER_GL();
2128
  glNormal3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2129 2130 2131
  LEAVE_GL();
}

2132
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2133
 *              glNormal3f (OPENGL32.@)
2134
 */
2135
void WINAPI wine_glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ) {
2136
  TRACE("(%f, %f, %f)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2137
  ENTER_GL();
2138
  glNormal3f( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2139 2140 2141
  LEAVE_GL();
}

2142
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2143
 *              glNormal3fv (OPENGL32.@)
2144
 */
2145
void WINAPI wine_glNormal3fv( GLfloat* v ) {
2146
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2147
  ENTER_GL();
2148
  glNormal3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2149 2150 2151
  LEAVE_GL();
}

2152
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2153
 *              glNormal3i (OPENGL32.@)
2154
 */
2155
void WINAPI wine_glNormal3i( GLint nx, GLint ny, GLint nz ) {
2156
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2157
  ENTER_GL();
2158
  glNormal3i( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2159 2160 2161
  LEAVE_GL();
}

2162
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2163
 *              glNormal3iv (OPENGL32.@)
2164
 */
2165
void WINAPI wine_glNormal3iv( GLint* v ) {
2166
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2167
  ENTER_GL();
2168
  glNormal3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2169 2170 2171
  LEAVE_GL();
}

2172
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2173
 *              glNormal3s (OPENGL32.@)
2174
 */
2175
void WINAPI wine_glNormal3s( GLshort nx, GLshort ny, GLshort nz ) {
2176
  TRACE("(%d, %d, %d)\n", nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2177
  ENTER_GL();
2178
  glNormal3s( nx, ny, nz );
Lionel Ulmer's avatar
Lionel Ulmer committed
2179 2180 2181
  LEAVE_GL();
}

2182
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2183
 *              glNormal3sv (OPENGL32.@)
2184
 */
2185
void WINAPI wine_glNormal3sv( GLshort* v ) {
2186
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2187
  ENTER_GL();
2188
  glNormal3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2189 2190 2191
  LEAVE_GL();
}

2192
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2193
 *              glNormalPointer (OPENGL32.@)
2194
 */
2195
void WINAPI wine_glNormalPointer( GLenum type, GLsizei stride, GLvoid* pointer ) {
2196
  TRACE("(%d, %d, %p)\n", type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2197
  ENTER_GL();
2198
  glNormalPointer( type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2199 2200 2201
  LEAVE_GL();
}

2202
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2203
 *              glOrtho (OPENGL32.@)
2204
 */
2205
void WINAPI wine_glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) {
2206
  TRACE("(%f, %f, %f, %f, %f, %f)\n", left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
2207
  ENTER_GL();
2208
  glOrtho( left, right, bottom, top, zNear, zFar );
Lionel Ulmer's avatar
Lionel Ulmer committed
2209 2210 2211
  LEAVE_GL();
}

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

2222
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2223
 *              glPixelMapfv (OPENGL32.@)
2224
 */
2225
void WINAPI wine_glPixelMapfv( GLenum map, GLint mapsize, GLfloat* values ) {
2226
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2227
  ENTER_GL();
2228
  glPixelMapfv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2229 2230 2231
  LEAVE_GL();
}

2232
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2233
 *              glPixelMapuiv (OPENGL32.@)
2234
 */
2235
void WINAPI wine_glPixelMapuiv( GLenum map, GLint mapsize, GLuint* values ) {
2236
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2237
  ENTER_GL();
2238
  glPixelMapuiv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2239 2240 2241
  LEAVE_GL();
}

2242
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2243
 *              glPixelMapusv (OPENGL32.@)
2244
 */
2245
void WINAPI wine_glPixelMapusv( GLenum map, GLint mapsize, GLushort* values ) {
2246
  TRACE("(%d, %d, %p)\n", map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2247
  ENTER_GL();
2248
  glPixelMapusv( map, mapsize, values );
Lionel Ulmer's avatar
Lionel Ulmer committed
2249 2250 2251
  LEAVE_GL();
}

2252
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2253
 *              glPixelStoref (OPENGL32.@)
2254
 */
2255
void WINAPI wine_glPixelStoref( GLenum pname, GLfloat param ) {
2256
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2257
  ENTER_GL();
2258
  glPixelStoref( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2259 2260 2261
  LEAVE_GL();
}

2262
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2263
 *              glPixelStorei (OPENGL32.@)
2264
 */
2265
void WINAPI wine_glPixelStorei( GLenum pname, GLint param ) {
2266
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2267
  ENTER_GL();
2268
  glPixelStorei( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2269 2270 2271
  LEAVE_GL();
}

2272
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2273
 *              glPixelTransferf (OPENGL32.@)
2274
 */
2275
void WINAPI wine_glPixelTransferf( GLenum pname, GLfloat param ) {
2276
  TRACE("(%d, %f)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2277
  ENTER_GL();
2278
  glPixelTransferf( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2279 2280 2281
  LEAVE_GL();
}

2282
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2283
 *              glPixelTransferi (OPENGL32.@)
2284
 */
2285
void WINAPI wine_glPixelTransferi( GLenum pname, GLint param ) {
2286
  TRACE("(%d, %d)\n", pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2287
  ENTER_GL();
2288
  glPixelTransferi( pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
2289 2290 2291
  LEAVE_GL();
}

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

2302
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2303
 *              glPointSize (OPENGL32.@)
2304
 */
2305
void WINAPI wine_glPointSize( GLfloat size ) {
2306
  TRACE("(%f)\n", size );
Lionel Ulmer's avatar
Lionel Ulmer committed
2307
  ENTER_GL();
2308
  glPointSize( size );
Lionel Ulmer's avatar
Lionel Ulmer committed
2309 2310 2311
  LEAVE_GL();
}

2312
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2313
 *              glPolygonMode (OPENGL32.@)
2314
 */
2315
void WINAPI wine_glPolygonMode( GLenum face, GLenum mode ) {
2316
  TRACE("(%d, %d)\n", face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2317
  ENTER_GL();
2318
  glPolygonMode( face, mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2319 2320 2321
  LEAVE_GL();
}

2322
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2323
 *              glPolygonOffset (OPENGL32.@)
2324
 */
2325
void WINAPI wine_glPolygonOffset( GLfloat factor, GLfloat units ) {
2326
  TRACE("(%f, %f)\n", factor, units );
Lionel Ulmer's avatar
Lionel Ulmer committed
2327
  ENTER_GL();
2328
  glPolygonOffset( factor, units );
Lionel Ulmer's avatar
Lionel Ulmer committed
2329 2330 2331
  LEAVE_GL();
}

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

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

2352
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2353
 *              glPopClientAttrib (OPENGL32.@)
2354
 */
2355
void WINAPI wine_glPopClientAttrib( void ) {
2356
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2357
  ENTER_GL();
2358
  glPopClientAttrib( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2359 2360 2361
  LEAVE_GL();
}

2362
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2363
 *              glPopMatrix (OPENGL32.@)
2364
 */
2365
void WINAPI wine_glPopMatrix( void ) {
2366
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2367
  ENTER_GL();
2368
  glPopMatrix( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2369 2370 2371
  LEAVE_GL();
}

2372
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2373
 *              glPopName (OPENGL32.@)
2374
 */
2375
void WINAPI wine_glPopName( void ) {
2376
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2377
  ENTER_GL();
2378
  glPopName( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2379 2380 2381
  LEAVE_GL();
}

2382
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2383
 *              glPrioritizeTextures (OPENGL32.@)
2384
 */
2385
void WINAPI wine_glPrioritizeTextures( GLsizei n, GLuint* textures, GLclampf* priorities ) {
2386
  TRACE("(%d, %p, %p)\n", n, textures, priorities );
Lionel Ulmer's avatar
Lionel Ulmer committed
2387
  ENTER_GL();
2388
  glPrioritizeTextures( n, textures, priorities );
Lionel Ulmer's avatar
Lionel Ulmer committed
2389 2390 2391
  LEAVE_GL();
}

2392
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2393
 *              glPushAttrib (OPENGL32.@)
2394
 */
2395
void WINAPI wine_glPushAttrib( GLbitfield mask ) {
2396
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2397
  ENTER_GL();
2398
  glPushAttrib( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2399 2400 2401
  LEAVE_GL();
}

2402
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2403
 *              glPushClientAttrib (OPENGL32.@)
2404
 */
2405
void WINAPI wine_glPushClientAttrib( GLbitfield mask ) {
2406
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2407
  ENTER_GL();
2408
  glPushClientAttrib( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2409 2410 2411
  LEAVE_GL();
}

2412
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2413
 *              glPushMatrix (OPENGL32.@)
2414
 */
2415
void WINAPI wine_glPushMatrix( void ) {
2416
  TRACE("()\n");
Lionel Ulmer's avatar
Lionel Ulmer committed
2417
  ENTER_GL();
2418
  glPushMatrix( );
Lionel Ulmer's avatar
Lionel Ulmer committed
2419 2420 2421
  LEAVE_GL();
}

2422
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2423
 *              glPushName (OPENGL32.@)
2424
 */
2425
void WINAPI wine_glPushName( GLuint name ) {
2426
  TRACE("(%d)\n", name );
Lionel Ulmer's avatar
Lionel Ulmer committed
2427
  ENTER_GL();
2428
  glPushName( name );
Lionel Ulmer's avatar
Lionel Ulmer committed
2429 2430 2431
  LEAVE_GL();
}

2432
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2433
 *              glRasterPos2d (OPENGL32.@)
2434
 */
2435
void WINAPI wine_glRasterPos2d( GLdouble x, GLdouble y ) {
2436
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2437
  ENTER_GL();
2438
  glRasterPos2d( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2439 2440 2441
  LEAVE_GL();
}

2442
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2443
 *              glRasterPos2dv (OPENGL32.@)
2444
 */
2445
void WINAPI wine_glRasterPos2dv( GLdouble* v ) {
2446
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2447
  ENTER_GL();
2448
  glRasterPos2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2449 2450 2451
  LEAVE_GL();
}

2452
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2453
 *              glRasterPos2f (OPENGL32.@)
2454
 */
2455
void WINAPI wine_glRasterPos2f( GLfloat x, GLfloat y ) {
2456
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2457
  ENTER_GL();
2458
  glRasterPos2f( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2459 2460 2461
  LEAVE_GL();
}

2462
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2463
 *              glRasterPos2fv (OPENGL32.@)
2464
 */
2465
void WINAPI wine_glRasterPos2fv( GLfloat* v ) {
2466
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2467
  ENTER_GL();
2468
  glRasterPos2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2469 2470 2471
  LEAVE_GL();
}

2472
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2473
 *              glRasterPos2i (OPENGL32.@)
2474
 */
2475
void WINAPI wine_glRasterPos2i( GLint x, GLint y ) {
2476
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2477
  ENTER_GL();
2478
  glRasterPos2i( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2479 2480 2481
  LEAVE_GL();
}

2482
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2483
 *              glRasterPos2iv (OPENGL32.@)
2484
 */
2485
void WINAPI wine_glRasterPos2iv( GLint* v ) {
2486
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2487
  ENTER_GL();
2488
  glRasterPos2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2489 2490 2491
  LEAVE_GL();
}

2492
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2493
 *              glRasterPos2s (OPENGL32.@)
2494
 */
2495
void WINAPI wine_glRasterPos2s( GLshort x, GLshort y ) {
2496
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2497
  ENTER_GL();
2498
  glRasterPos2s( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
2499 2500 2501
  LEAVE_GL();
}

2502
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2503
 *              glRasterPos2sv (OPENGL32.@)
2504
 */
2505
void WINAPI wine_glRasterPos2sv( GLshort* v ) {
2506
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2507
  ENTER_GL();
2508
  glRasterPos2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2509 2510 2511
  LEAVE_GL();
}

2512
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2513
 *              glRasterPos3d (OPENGL32.@)
2514
 */
2515
void WINAPI wine_glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ) {
2516
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2517
  ENTER_GL();
2518
  glRasterPos3d( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2519 2520 2521
  LEAVE_GL();
}

2522
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2523
 *              glRasterPos3dv (OPENGL32.@)
2524
 */
2525
void WINAPI wine_glRasterPos3dv( GLdouble* v ) {
2526
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2527
  ENTER_GL();
2528
  glRasterPos3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2529 2530 2531
  LEAVE_GL();
}

2532
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2533
 *              glRasterPos3f (OPENGL32.@)
2534
 */
2535
void WINAPI wine_glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ) {
2536
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2537
  ENTER_GL();
2538
  glRasterPos3f( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2539 2540 2541
  LEAVE_GL();
}

2542
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2543
 *              glRasterPos3fv (OPENGL32.@)
2544
 */
2545
void WINAPI wine_glRasterPos3fv( GLfloat* v ) {
2546
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2547
  ENTER_GL();
2548
  glRasterPos3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2549 2550 2551
  LEAVE_GL();
}

2552
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2553
 *              glRasterPos3i (OPENGL32.@)
2554
 */
2555
void WINAPI wine_glRasterPos3i( GLint x, GLint y, GLint z ) {
2556
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2557
  ENTER_GL();
2558
  glRasterPos3i( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2559 2560 2561
  LEAVE_GL();
}

2562
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2563
 *              glRasterPos3iv (OPENGL32.@)
2564
 */
2565
void WINAPI wine_glRasterPos3iv( GLint* v ) {
2566
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2567
  ENTER_GL();
2568
  glRasterPos3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2569 2570 2571
  LEAVE_GL();
}

2572
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2573
 *              glRasterPos3s (OPENGL32.@)
2574
 */
2575
void WINAPI wine_glRasterPos3s( GLshort x, GLshort y, GLshort z ) {
2576
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2577
  ENTER_GL();
2578
  glRasterPos3s( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2579 2580 2581
  LEAVE_GL();
}

2582
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2583
 *              glRasterPos3sv (OPENGL32.@)
2584
 */
2585
void WINAPI wine_glRasterPos3sv( GLshort* v ) {
2586
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2587
  ENTER_GL();
2588
  glRasterPos3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2589 2590 2591
  LEAVE_GL();
}

2592
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2593
 *              glRasterPos4d (OPENGL32.@)
2594
 */
2595
void WINAPI wine_glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
2596
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2597
  ENTER_GL();
2598
  glRasterPos4d( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2599 2600 2601
  LEAVE_GL();
}

2602
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2603
 *              glRasterPos4dv (OPENGL32.@)
2604
 */
2605
void WINAPI wine_glRasterPos4dv( GLdouble* v ) {
2606
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2607
  ENTER_GL();
2608
  glRasterPos4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2609 2610 2611
  LEAVE_GL();
}

2612
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2613
 *              glRasterPos4f (OPENGL32.@)
2614
 */
2615
void WINAPI wine_glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
2616
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2617
  ENTER_GL();
2618
  glRasterPos4f( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2619 2620 2621
  LEAVE_GL();
}

2622
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2623
 *              glRasterPos4fv (OPENGL32.@)
2624
 */
2625
void WINAPI wine_glRasterPos4fv( GLfloat* v ) {
2626
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2627
  ENTER_GL();
2628
  glRasterPos4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2629 2630 2631
  LEAVE_GL();
}

2632
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2633
 *              glRasterPos4i (OPENGL32.@)
2634
 */
2635
void WINAPI wine_glRasterPos4i( GLint x, GLint y, GLint z, GLint w ) {
2636
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2637
  ENTER_GL();
2638
  glRasterPos4i( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2639 2640 2641
  LEAVE_GL();
}

2642
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2643
 *              glRasterPos4iv (OPENGL32.@)
2644
 */
2645
void WINAPI wine_glRasterPos4iv( GLint* v ) {
2646
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2647
  ENTER_GL();
2648
  glRasterPos4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2649 2650 2651
  LEAVE_GL();
}

2652
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2653
 *              glRasterPos4s (OPENGL32.@)
2654
 */
2655
void WINAPI wine_glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
2656
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2657
  ENTER_GL();
2658
  glRasterPos4s( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
2659 2660 2661
  LEAVE_GL();
}

2662
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2663
 *              glRasterPos4sv (OPENGL32.@)
2664
 */
2665
void WINAPI wine_glRasterPos4sv( GLshort* v ) {
2666
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2667
  ENTER_GL();
2668
  glRasterPos4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2669 2670 2671
  LEAVE_GL();
}

2672
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2673
 *              glReadBuffer (OPENGL32.@)
2674
 */
2675
void WINAPI wine_glReadBuffer( GLenum mode ) {
2676
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2677
  ENTER_GL();
2678
  glReadBuffer( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2679 2680 2681
  LEAVE_GL();
}

2682
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2683
 *              glReadPixels (OPENGL32.@)
2684
 */
2685
void WINAPI wine_glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
2686
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", x, y, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
2687
  ENTER_GL();
2688
  glReadPixels( x, y, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
2689 2690 2691
  LEAVE_GL();
}

2692
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2693
 *              glRectd (OPENGL32.@)
2694
 */
2695
void WINAPI wine_glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ) {
2696
  TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2697
  ENTER_GL();
2698
  glRectd( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2699 2700 2701
  LEAVE_GL();
}

2702
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2703
 *              glRectdv (OPENGL32.@)
2704
 */
2705
void WINAPI wine_glRectdv( GLdouble* v1, GLdouble* v2 ) {
2706
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2707
  ENTER_GL();
2708
  glRectdv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2709 2710 2711
  LEAVE_GL();
}

2712
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2713
 *              glRectf (OPENGL32.@)
2714
 */
2715
void WINAPI wine_glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ) {
2716
  TRACE("(%f, %f, %f, %f)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2717
  ENTER_GL();
2718
  glRectf( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2719 2720 2721
  LEAVE_GL();
}

2722
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2723
 *              glRectfv (OPENGL32.@)
2724
 */
2725
void WINAPI wine_glRectfv( GLfloat* v1, GLfloat* v2 ) {
2726
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2727
  ENTER_GL();
2728
  glRectfv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2729 2730 2731
  LEAVE_GL();
}

2732
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2733
 *              glRecti (OPENGL32.@)
2734
 */
2735
void WINAPI wine_glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ) {
2736
  TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2737
  ENTER_GL();
2738
  glRecti( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2739 2740 2741
  LEAVE_GL();
}

2742
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2743
 *              glRectiv (OPENGL32.@)
2744
 */
2745
void WINAPI wine_glRectiv( GLint* v1, GLint* v2 ) {
2746
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2747
  ENTER_GL();
2748
  glRectiv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2749 2750 2751
  LEAVE_GL();
}

2752
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2753
 *              glRects (OPENGL32.@)
2754
 */
2755
void WINAPI wine_glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ) {
2756
  TRACE("(%d, %d, %d, %d)\n", x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2757
  ENTER_GL();
2758
  glRects( x1, y1, x2, y2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2759 2760 2761
  LEAVE_GL();
}

2762
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2763
 *              glRectsv (OPENGL32.@)
2764
 */
2765
void WINAPI wine_glRectsv( GLshort* v1, GLshort* v2 ) {
2766
  TRACE("(%p, %p)\n", v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2767
  ENTER_GL();
2768
  glRectsv( v1, v2 );
Lionel Ulmer's avatar
Lionel Ulmer committed
2769 2770 2771
  LEAVE_GL();
}

2772
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2773
 *              glRenderMode (OPENGL32.@)
2774
 */
2775 2776
GLint WINAPI wine_glRenderMode( GLenum mode ) {
  GLint ret_value;
2777
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2778
  ENTER_GL();
2779
  ret_value = glRenderMode( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2780
  LEAVE_GL();
2781
  return ret_value;
Lionel Ulmer's avatar
Lionel Ulmer committed
2782 2783
}

2784
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2785
 *              glResetHistogram (OPENGL32.@)
2786
 */
2787
void WINAPI wine_glResetHistogram( GLenum target ) {
2788
  TRACE("(%d)\n", target );
Lionel Ulmer's avatar
Lionel Ulmer committed
2789
  ENTER_GL();
2790
  glResetHistogram( target );
Lionel Ulmer's avatar
Lionel Ulmer committed
2791 2792 2793
  LEAVE_GL();
}

2794
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2795
 *              glResetMinmax (OPENGL32.@)
2796
 */
2797
void WINAPI wine_glResetMinmax( GLenum target ) {
2798
  TRACE("(%d)\n", target );
Lionel Ulmer's avatar
Lionel Ulmer committed
2799
  ENTER_GL();
2800
  glResetMinmax( target );
Lionel Ulmer's avatar
Lionel Ulmer committed
2801 2802 2803
  LEAVE_GL();
}

2804
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2805
 *              glRotated (OPENGL32.@)
2806
 */
2807
void WINAPI wine_glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ) {
2808
  TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2809
  ENTER_GL();
2810
  glRotated( angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2811 2812 2813
  LEAVE_GL();
}

2814
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2815
 *              glRotatef (OPENGL32.@)
2816
 */
2817
void WINAPI wine_glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ) {
2818
  TRACE("(%f, %f, %f, %f)\n", angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2819
  ENTER_GL();
2820
  glRotatef( angle, x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2821 2822 2823
  LEAVE_GL();
}

2824
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2825
 *              glScaled (OPENGL32.@)
2826
 */
2827
void WINAPI wine_glScaled( GLdouble x, GLdouble y, GLdouble z ) {
2828
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2829
  ENTER_GL();
2830
  glScaled( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
2831 2832 2833
  LEAVE_GL();
}

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

2844 2845 2846 2847 2848 2849 2850 2851 2852 2853
/***********************************************************************
 *              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();
}

2854
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2855
 *              glSelectBuffer (OPENGL32.@)
2856
 */
2857
void WINAPI wine_glSelectBuffer( GLsizei size, GLuint* buffer ) {
2858
  TRACE("(%d, %p)\n", size, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2859
  ENTER_GL();
2860
  glSelectBuffer( size, buffer );
Lionel Ulmer's avatar
Lionel Ulmer committed
2861 2862 2863
  LEAVE_GL();
}

2864
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2865
 *              glSeparableFilter2D (OPENGL32.@)
2866
 */
2867
void WINAPI wine_glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* row, GLvoid* column ) {
2868
  TRACE("(%d, %d, %d, %d, %d, %d, %p, %p)\n", target, internalformat, width, height, format, type, row, column );
Lionel Ulmer's avatar
Lionel Ulmer committed
2869
  ENTER_GL();
2870
  glSeparableFilter2D( target, internalformat, width, height, format, type, row, column );
Lionel Ulmer's avatar
Lionel Ulmer committed
2871 2872 2873
  LEAVE_GL();
}

2874
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2875
 *              glShadeModel (OPENGL32.@)
2876
 */
2877
void WINAPI wine_glShadeModel( GLenum mode ) {
2878
  TRACE("(%d)\n", mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2879
  ENTER_GL();
2880
  glShadeModel( mode );
Lionel Ulmer's avatar
Lionel Ulmer committed
2881 2882 2883
  LEAVE_GL();
}

2884
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2885
 *              glStencilFunc (OPENGL32.@)
2886
 */
2887
void WINAPI wine_glStencilFunc( GLenum func, GLint ref, GLuint mask ) {
2888
  TRACE("(%d, %d, %d)\n", func, ref, mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2889
  ENTER_GL();
2890
  glStencilFunc( func, ref, mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2891 2892 2893
  LEAVE_GL();
}

2894
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2895
 *              glStencilMask (OPENGL32.@)
2896
 */
2897
void WINAPI wine_glStencilMask( GLuint mask ) {
2898
  TRACE("(%d)\n", mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2899
  ENTER_GL();
2900
  glStencilMask( mask );
Lionel Ulmer's avatar
Lionel Ulmer committed
2901 2902 2903
  LEAVE_GL();
}

2904
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2905
 *              glStencilOp (OPENGL32.@)
2906
 */
2907
void WINAPI wine_glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ) {
2908
  TRACE("(%d, %d, %d)\n", fail, zfail, zpass );
Lionel Ulmer's avatar
Lionel Ulmer committed
2909
  ENTER_GL();
2910
  glStencilOp( fail, zfail, zpass );
Lionel Ulmer's avatar
Lionel Ulmer committed
2911 2912 2913
  LEAVE_GL();
}

2914
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2915
 *              glTexCoord1d (OPENGL32.@)
2916
 */
2917
void WINAPI wine_glTexCoord1d( GLdouble s ) {
2918
  TRACE("(%f)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2919
  ENTER_GL();
2920
  glTexCoord1d( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2921 2922 2923
  LEAVE_GL();
}

2924
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2925
 *              glTexCoord1dv (OPENGL32.@)
2926
 */
2927
void WINAPI wine_glTexCoord1dv( GLdouble* v ) {
2928
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2929
  ENTER_GL();
2930
  glTexCoord1dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2931 2932 2933
  LEAVE_GL();
}

2934
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2935
 *              glTexCoord1f (OPENGL32.@)
2936
 */
2937
void WINAPI wine_glTexCoord1f( GLfloat s ) {
2938
  TRACE("(%f)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2939
  ENTER_GL();
2940
  glTexCoord1f( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2941 2942 2943
  LEAVE_GL();
}

2944
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2945
 *              glTexCoord1fv (OPENGL32.@)
2946
 */
2947
void WINAPI wine_glTexCoord1fv( GLfloat* v ) {
2948
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2949
  ENTER_GL();
2950
  glTexCoord1fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2951 2952 2953
  LEAVE_GL();
}

2954
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2955
 *              glTexCoord1i (OPENGL32.@)
2956
 */
2957
void WINAPI wine_glTexCoord1i( GLint s ) {
2958
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2959
  ENTER_GL();
2960
  glTexCoord1i( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2961 2962 2963
  LEAVE_GL();
}

2964
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2965
 *              glTexCoord1iv (OPENGL32.@)
2966
 */
2967
void WINAPI wine_glTexCoord1iv( GLint* v ) {
2968
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2969
  ENTER_GL();
2970
  glTexCoord1iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2971 2972 2973
  LEAVE_GL();
}

2974
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2975
 *              glTexCoord1s (OPENGL32.@)
2976
 */
2977
void WINAPI wine_glTexCoord1s( GLshort s ) {
2978
  TRACE("(%d)\n", s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2979
  ENTER_GL();
2980
  glTexCoord1s( s );
Lionel Ulmer's avatar
Lionel Ulmer committed
2981 2982 2983
  LEAVE_GL();
}

2984
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2985
 *              glTexCoord1sv (OPENGL32.@)
2986
 */
2987
void WINAPI wine_glTexCoord1sv( GLshort* v ) {
2988
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2989
  ENTER_GL();
2990
  glTexCoord1sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
2991 2992 2993
  LEAVE_GL();
}

2994
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
2995
 *              glTexCoord2d (OPENGL32.@)
2996
 */
2997
void WINAPI wine_glTexCoord2d( GLdouble s, GLdouble t ) {
2998
  TRACE("(%f, %f)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
2999
  ENTER_GL();
3000
  glTexCoord2d( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3001 3002 3003
  LEAVE_GL();
}

3004
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3005
 *              glTexCoord2dv (OPENGL32.@)
3006
 */
3007
void WINAPI wine_glTexCoord2dv( GLdouble* v ) {
3008
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3009
  ENTER_GL();
3010
  glTexCoord2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3011 3012 3013
  LEAVE_GL();
}

3014
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3015
 *              glTexCoord2f (OPENGL32.@)
3016
 */
3017
void WINAPI wine_glTexCoord2f( GLfloat s, GLfloat t ) {
3018
  TRACE("(%f, %f)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3019
  ENTER_GL();
3020
  glTexCoord2f( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3021 3022 3023
  LEAVE_GL();
}

3024
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3025
 *              glTexCoord2fv (OPENGL32.@)
3026
 */
3027
void WINAPI wine_glTexCoord2fv( GLfloat* v ) {
3028
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3029
  ENTER_GL();
3030
  glTexCoord2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3031 3032 3033
  LEAVE_GL();
}

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

3044
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3045
 *              glTexCoord2iv (OPENGL32.@)
3046
 */
3047
void WINAPI wine_glTexCoord2iv( GLint* v ) {
3048
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3049
  ENTER_GL();
3050
  glTexCoord2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3051 3052 3053
  LEAVE_GL();
}

3054
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3055
 *              glTexCoord2s (OPENGL32.@)
3056
 */
3057
void WINAPI wine_glTexCoord2s( GLshort s, GLshort t ) {
3058
  TRACE("(%d, %d)\n", s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3059
  ENTER_GL();
3060
  glTexCoord2s( s, t );
Lionel Ulmer's avatar
Lionel Ulmer committed
3061 3062 3063
  LEAVE_GL();
}

3064
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3065
 *              glTexCoord2sv (OPENGL32.@)
3066
 */
3067
void WINAPI wine_glTexCoord2sv( GLshort* v ) {
3068
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3069
  ENTER_GL();
3070
  glTexCoord2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3071 3072 3073
  LEAVE_GL();
}

3074
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3075
 *              glTexCoord3d (OPENGL32.@)
3076
 */
3077
void WINAPI wine_glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ) {
3078
  TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3079
  ENTER_GL();
3080
  glTexCoord3d( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3081 3082 3083
  LEAVE_GL();
}

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

3094
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3095
 *              glTexCoord3f (OPENGL32.@)
3096
 */
3097
void WINAPI wine_glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ) {
3098
  TRACE("(%f, %f, %f)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3099
  ENTER_GL();
3100
  glTexCoord3f( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3101 3102 3103
  LEAVE_GL();
}

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

3114
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3115
 *              glTexCoord3i (OPENGL32.@)
3116
 */
3117
void WINAPI wine_glTexCoord3i( GLint s, GLint t, GLint r ) {
3118
  TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3119
  ENTER_GL();
3120
  glTexCoord3i( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3121 3122 3123
  LEAVE_GL();
}

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

3134
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3135
 *              glTexCoord3s (OPENGL32.@)
3136
 */
3137
void WINAPI wine_glTexCoord3s( GLshort s, GLshort t, GLshort r ) {
3138
  TRACE("(%d, %d, %d)\n", s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3139
  ENTER_GL();
3140
  glTexCoord3s( s, t, r );
Lionel Ulmer's avatar
Lionel Ulmer committed
3141 3142 3143
  LEAVE_GL();
}

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

3154
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3155
 *              glTexCoord4d (OPENGL32.@)
3156
 */
3157
void WINAPI wine_glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ) {
3158
  TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3159
  ENTER_GL();
3160
  glTexCoord4d( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3161 3162 3163
  LEAVE_GL();
}

3164
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3165
 *              glTexCoord4dv (OPENGL32.@)
3166
 */
3167
void WINAPI wine_glTexCoord4dv( GLdouble* v ) {
3168
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3169
  ENTER_GL();
3170
  glTexCoord4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3171 3172 3173
  LEAVE_GL();
}

3174
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3175
 *              glTexCoord4f (OPENGL32.@)
3176
 */
3177
void WINAPI wine_glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ) {
3178
  TRACE("(%f, %f, %f, %f)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3179
  ENTER_GL();
3180
  glTexCoord4f( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3181 3182 3183
  LEAVE_GL();
}

3184
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3185
 *              glTexCoord4fv (OPENGL32.@)
3186
 */
3187
void WINAPI wine_glTexCoord4fv( GLfloat* v ) {
3188
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3189
  ENTER_GL();
3190
  glTexCoord4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3191 3192 3193
  LEAVE_GL();
}

3194
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3195
 *              glTexCoord4i (OPENGL32.@)
3196
 */
3197
void WINAPI wine_glTexCoord4i( GLint s, GLint t, GLint r, GLint q ) {
3198
  TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3199
  ENTER_GL();
3200
  glTexCoord4i( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3201 3202 3203
  LEAVE_GL();
}

3204
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3205
 *              glTexCoord4iv (OPENGL32.@)
3206
 */
3207
void WINAPI wine_glTexCoord4iv( GLint* v ) {
3208
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3209
  ENTER_GL();
3210
  glTexCoord4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3211 3212 3213
  LEAVE_GL();
}

3214
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3215
 *              glTexCoord4s (OPENGL32.@)
3216
 */
3217
void WINAPI wine_glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ) {
3218
  TRACE("(%d, %d, %d, %d)\n", s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3219
  ENTER_GL();
3220
  glTexCoord4s( s, t, r, q );
Lionel Ulmer's avatar
Lionel Ulmer committed
3221 3222 3223
  LEAVE_GL();
}

3224
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3225
 *              glTexCoord4sv (OPENGL32.@)
3226
 */
3227
void WINAPI wine_glTexCoord4sv( GLshort* v ) {
3228
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3229
  ENTER_GL();
3230
  glTexCoord4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3231 3232 3233
  LEAVE_GL();
}

3234
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3235
 *              glTexCoordPointer (OPENGL32.@)
3236
 */
3237
void WINAPI wine_glTexCoordPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
3238
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3239
  ENTER_GL();
3240
  glTexCoordPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3241 3242 3243
  LEAVE_GL();
}

3244
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3245
 *              glTexEnvf (OPENGL32.@)
3246
 */
3247
void WINAPI wine_glTexEnvf( GLenum target, GLenum pname, GLfloat param ) {
3248
  TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3249
  ENTER_GL();
3250
  glTexEnvf( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3251 3252 3253
  LEAVE_GL();
}

3254
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3255
 *              glTexEnvfv (OPENGL32.@)
3256
 */
3257
void WINAPI wine_glTexEnvfv( GLenum target, GLenum pname, GLfloat* params ) {
3258
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3259
  ENTER_GL();
3260
  glTexEnvfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3261 3262 3263
  LEAVE_GL();
}

3264
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3265
 *              glTexEnvi (OPENGL32.@)
3266
 */
3267
void WINAPI wine_glTexEnvi( GLenum target, GLenum pname, GLint param ) {
3268
  TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3269
  ENTER_GL();
3270
  glTexEnvi( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3271 3272 3273
  LEAVE_GL();
}

3274
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3275
 *              glTexEnviv (OPENGL32.@)
3276
 */
3277
void WINAPI wine_glTexEnviv( GLenum target, GLenum pname, GLint* params ) {
3278
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3279
  ENTER_GL();
3280
  glTexEnviv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3281 3282 3283
  LEAVE_GL();
}

3284
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3285
 *              glTexGend (OPENGL32.@)
3286
 */
3287
void WINAPI wine_glTexGend( GLenum coord, GLenum pname, GLdouble param ) {
3288
  TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3289
  ENTER_GL();
3290
  glTexGend( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3291 3292 3293
  LEAVE_GL();
}

3294
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3295
 *              glTexGendv (OPENGL32.@)
3296
 */
3297
void WINAPI wine_glTexGendv( GLenum coord, GLenum pname, GLdouble* params ) {
3298
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3299
  ENTER_GL();
3300
  glTexGendv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3301 3302 3303
  LEAVE_GL();
}

3304
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3305
 *              glTexGenf (OPENGL32.@)
3306
 */
3307
void WINAPI wine_glTexGenf( GLenum coord, GLenum pname, GLfloat param ) {
3308
  TRACE("(%d, %d, %f)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3309
  ENTER_GL();
3310
  glTexGenf( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3311 3312 3313
  LEAVE_GL();
}

3314
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3315
 *              glTexGenfv (OPENGL32.@)
3316
 */
3317
void WINAPI wine_glTexGenfv( GLenum coord, GLenum pname, GLfloat* params ) {
3318
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3319
  ENTER_GL();
3320
  glTexGenfv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3321 3322 3323
  LEAVE_GL();
}

3324
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3325
 *              glTexGeni (OPENGL32.@)
3326
 */
3327
void WINAPI wine_glTexGeni( GLenum coord, GLenum pname, GLint param ) {
3328
  TRACE("(%d, %d, %d)\n", coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3329
  ENTER_GL();
3330
  glTexGeni( coord, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3331 3332 3333
  LEAVE_GL();
}

3334
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3335
 *              glTexGeniv (OPENGL32.@)
3336
 */
3337
void WINAPI wine_glTexGeniv( GLenum coord, GLenum pname, GLint* params ) {
3338
  TRACE("(%d, %d, %p)\n", coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3339
  ENTER_GL();
3340
  glTexGeniv( coord, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3341 3342 3343
  LEAVE_GL();
}

3344
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3345
 *              glTexImage1D (OPENGL32.@)
3346
 */
3347
void WINAPI wine_glTexImage1D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
3348
  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
3349
  ENTER_GL();
3350
  glTexImage1D( target, level, internalformat, width, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3351 3352 3353
  LEAVE_GL();
}

3354
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3355
 *              glTexImage2D (OPENGL32.@)
3356
 */
3357
void WINAPI wine_glTexImage2D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
3358
  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
3359
  ENTER_GL();
3360
  glTexImage2D( target, level, internalformat, width, height, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3361 3362 3363
  LEAVE_GL();
}

3364
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3365
 *              glTexImage3D (OPENGL32.@)
3366
 */
3367
void WINAPI wine_glTexImage3D( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLvoid* pixels ) {
3368
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, internalformat, width, height, depth, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3369
  ENTER_GL();
3370
  glTexImage3D( target, level, internalformat, width, height, depth, border, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3371 3372 3373
  LEAVE_GL();
}

3374
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3375
 *              glTexParameterf (OPENGL32.@)
3376
 */
3377
void WINAPI wine_glTexParameterf( GLenum target, GLenum pname, GLfloat param ) {
3378
  TRACE("(%d, %d, %f)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3379
  ENTER_GL();
3380
  glTexParameterf( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3381 3382 3383
  LEAVE_GL();
}

3384
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3385
 *              glTexParameterfv (OPENGL32.@)
3386
 */
3387
void WINAPI wine_glTexParameterfv( GLenum target, GLenum pname, GLfloat* params ) {
3388
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3389
  ENTER_GL();
3390
  glTexParameterfv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3391 3392 3393
  LEAVE_GL();
}

3394
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3395
 *              glTexParameteri (OPENGL32.@)
3396
 */
3397
void WINAPI wine_glTexParameteri( GLenum target, GLenum pname, GLint param ) {
3398
  TRACE("(%d, %d, %d)\n", target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3399
  ENTER_GL();
3400
  glTexParameteri( target, pname, param );
Lionel Ulmer's avatar
Lionel Ulmer committed
3401 3402 3403
  LEAVE_GL();
}

3404
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3405
 *              glTexParameteriv (OPENGL32.@)
3406
 */
3407
void WINAPI wine_glTexParameteriv( GLenum target, GLenum pname, GLint* params ) {
3408
  TRACE("(%d, %d, %p)\n", target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3409
  ENTER_GL();
3410
  glTexParameteriv( target, pname, params );
Lionel Ulmer's avatar
Lionel Ulmer committed
3411 3412 3413
  LEAVE_GL();
}

3414
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3415
 *              glTexSubImage1D (OPENGL32.@)
3416
 */
3417
void WINAPI wine_glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, GLvoid* pixels ) {
3418
  TRACE("(%d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, width, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3419
  ENTER_GL();
3420
  glTexSubImage1D( target, level, xoffset, width, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3421 3422 3423
  LEAVE_GL();
}

3424
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3425
 *              glTexSubImage2D (OPENGL32.@)
3426
 */
3427
void WINAPI wine_glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels ) {
3428
  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
3429
  ENTER_GL();
3430
  glTexSubImage2D( target, level, xoffset, yoffset, width, height, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3431 3432 3433
  LEAVE_GL();
}

3434
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3435
 *              glTexSubImage3D (OPENGL32.@)
3436
 */
3437
void WINAPI wine_glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid* pixels ) {
3438
  TRACE("(%d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %p)\n", target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3439
  ENTER_GL();
3440
  glTexSubImage3D( target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels );
Lionel Ulmer's avatar
Lionel Ulmer committed
3441 3442 3443
  LEAVE_GL();
}

3444
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3445
 *              glTranslated (OPENGL32.@)
3446
 */
3447
void WINAPI wine_glTranslated( GLdouble x, GLdouble y, GLdouble z ) {
3448
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3449
  ENTER_GL();
3450
  glTranslated( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3451 3452 3453
  LEAVE_GL();
}

3454
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3455
 *              glTranslatef (OPENGL32.@)
3456
 */
3457
void WINAPI wine_glTranslatef( GLfloat x, GLfloat y, GLfloat z ) {
3458
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3459
  ENTER_GL();
3460
  glTranslatef( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3461 3462 3463
  LEAVE_GL();
}

3464
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3465
 *              glVertex2d (OPENGL32.@)
3466
 */
3467
void WINAPI wine_glVertex2d( GLdouble x, GLdouble y ) {
3468
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3469
  ENTER_GL();
3470
  glVertex2d( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3471 3472 3473
  LEAVE_GL();
}

3474
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3475
 *              glVertex2dv (OPENGL32.@)
3476
 */
3477
void WINAPI wine_glVertex2dv( GLdouble* v ) {
3478
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3479
  ENTER_GL();
3480
  glVertex2dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3481 3482 3483
  LEAVE_GL();
}

3484
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3485
 *              glVertex2f (OPENGL32.@)
3486
 */
3487
void WINAPI wine_glVertex2f( GLfloat x, GLfloat y ) {
3488
  TRACE("(%f, %f)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3489
  ENTER_GL();
3490
  glVertex2f( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3491 3492 3493
  LEAVE_GL();
}

3494
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3495
 *              glVertex2fv (OPENGL32.@)
3496
 */
3497
void WINAPI wine_glVertex2fv( GLfloat* v ) {
3498
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3499
  ENTER_GL();
3500
  glVertex2fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3501 3502 3503
  LEAVE_GL();
}

3504
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3505
 *              glVertex2i (OPENGL32.@)
3506
 */
3507
void WINAPI wine_glVertex2i( GLint x, GLint y ) {
3508
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3509
  ENTER_GL();
3510
  glVertex2i( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3511 3512 3513
  LEAVE_GL();
}

3514
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3515
 *              glVertex2iv (OPENGL32.@)
3516
 */
3517
void WINAPI wine_glVertex2iv( GLint* v ) {
3518
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3519
  ENTER_GL();
3520
  glVertex2iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3521 3522 3523
  LEAVE_GL();
}

3524
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3525
 *              glVertex2s (OPENGL32.@)
3526
 */
3527
void WINAPI wine_glVertex2s( GLshort x, GLshort y ) {
3528
  TRACE("(%d, %d)\n", x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3529
  ENTER_GL();
3530
  glVertex2s( x, y );
Lionel Ulmer's avatar
Lionel Ulmer committed
3531 3532 3533
  LEAVE_GL();
}

3534
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3535
 *              glVertex2sv (OPENGL32.@)
3536
 */
3537
void WINAPI wine_glVertex2sv( GLshort* v ) {
3538
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3539
  ENTER_GL();
3540
  glVertex2sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3541 3542 3543
  LEAVE_GL();
}

3544
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3545
 *              glVertex3d (OPENGL32.@)
3546
 */
3547
void WINAPI wine_glVertex3d( GLdouble x, GLdouble y, GLdouble z ) {
3548
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3549
  ENTER_GL();
3550
  glVertex3d( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3551 3552 3553
  LEAVE_GL();
}

3554
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3555
 *              glVertex3dv (OPENGL32.@)
3556
 */
3557
void WINAPI wine_glVertex3dv( GLdouble* v ) {
3558
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3559
  ENTER_GL();
3560
  glVertex3dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3561 3562 3563
  LEAVE_GL();
}

3564
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3565
 *              glVertex3f (OPENGL32.@)
3566
 */
3567
void WINAPI wine_glVertex3f( GLfloat x, GLfloat y, GLfloat z ) {
3568
  TRACE("(%f, %f, %f)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3569
  ENTER_GL();
3570
  glVertex3f( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3571 3572 3573
  LEAVE_GL();
}

3574
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3575
 *              glVertex3fv (OPENGL32.@)
3576
 */
3577
void WINAPI wine_glVertex3fv( GLfloat* v ) {
3578
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3579
  ENTER_GL();
3580
  glVertex3fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3581 3582 3583
  LEAVE_GL();
}

3584
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3585
 *              glVertex3i (OPENGL32.@)
3586
 */
3587
void WINAPI wine_glVertex3i( GLint x, GLint y, GLint z ) {
3588
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3589
  ENTER_GL();
3590
  glVertex3i( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3591 3592 3593
  LEAVE_GL();
}

3594
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3595
 *              glVertex3iv (OPENGL32.@)
3596
 */
3597
void WINAPI wine_glVertex3iv( GLint* v ) {
3598
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3599
  ENTER_GL();
3600
  glVertex3iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3601 3602 3603
  LEAVE_GL();
}

3604
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3605
 *              glVertex3s (OPENGL32.@)
3606
 */
3607
void WINAPI wine_glVertex3s( GLshort x, GLshort y, GLshort z ) {
3608
  TRACE("(%d, %d, %d)\n", x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3609
  ENTER_GL();
3610
  glVertex3s( x, y, z );
Lionel Ulmer's avatar
Lionel Ulmer committed
3611 3612 3613
  LEAVE_GL();
}

3614
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3615
 *              glVertex3sv (OPENGL32.@)
3616
 */
3617
void WINAPI wine_glVertex3sv( GLshort* v ) {
3618
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3619
  ENTER_GL();
3620
  glVertex3sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3621 3622 3623
  LEAVE_GL();
}

3624
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3625
 *              glVertex4d (OPENGL32.@)
3626
 */
3627
void WINAPI wine_glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ) {
3628
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3629
  ENTER_GL();
3630
  glVertex4d( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3631 3632 3633
  LEAVE_GL();
}

3634
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3635
 *              glVertex4dv (OPENGL32.@)
3636
 */
3637
void WINAPI wine_glVertex4dv( GLdouble* v ) {
3638
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3639
  ENTER_GL();
3640
  glVertex4dv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3641 3642 3643
  LEAVE_GL();
}

3644
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3645
 *              glVertex4f (OPENGL32.@)
3646
 */
3647
void WINAPI wine_glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ) {
3648
  TRACE("(%f, %f, %f, %f)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3649
  ENTER_GL();
3650
  glVertex4f( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3651 3652 3653
  LEAVE_GL();
}

3654
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3655
 *              glVertex4fv (OPENGL32.@)
3656
 */
3657
void WINAPI wine_glVertex4fv( GLfloat* v ) {
3658
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3659
  ENTER_GL();
3660
  glVertex4fv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3661 3662 3663
  LEAVE_GL();
}

3664
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3665
 *              glVertex4i (OPENGL32.@)
3666
 */
3667
void WINAPI wine_glVertex4i( GLint x, GLint y, GLint z, GLint w ) {
3668
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3669
  ENTER_GL();
3670
  glVertex4i( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3671 3672 3673
  LEAVE_GL();
}

3674
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3675
 *              glVertex4iv (OPENGL32.@)
3676
 */
3677
void WINAPI wine_glVertex4iv( GLint* v ) {
3678
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3679
  ENTER_GL();
3680
  glVertex4iv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3681 3682 3683
  LEAVE_GL();
}

3684
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3685
 *              glVertex4s (OPENGL32.@)
3686
 */
3687
void WINAPI wine_glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ) {
3688
  TRACE("(%d, %d, %d, %d)\n", x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3689
  ENTER_GL();
3690
  glVertex4s( x, y, z, w );
Lionel Ulmer's avatar
Lionel Ulmer committed
3691 3692 3693
  LEAVE_GL();
}

3694
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3695
 *              glVertex4sv (OPENGL32.@)
3696
 */
3697
void WINAPI wine_glVertex4sv( GLshort* v ) {
3698
  TRACE("(%p)\n", v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3699
  ENTER_GL();
3700
  glVertex4sv( v );
Lionel Ulmer's avatar
Lionel Ulmer committed
3701 3702 3703
  LEAVE_GL();
}

3704
/***********************************************************************
Patrik Stridvall's avatar
Patrik Stridvall committed
3705
 *              glVertexPointer (OPENGL32.@)
3706
 */
3707
void WINAPI wine_glVertexPointer( GLint size, GLenum type, GLsizei stride, GLvoid* pointer ) {
3708
  TRACE("(%d, %d, %d, %p)\n", size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3709
  ENTER_GL();
3710
  glVertexPointer( size, type, stride, pointer );
Lionel Ulmer's avatar
Lionel Ulmer committed
3711 3712
  LEAVE_GL();
}
3713 3714 3715 3716 3717 3718 3719 3720 3721 3722

/***********************************************************************
 *              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();
}