glextensions.h: simplify #if-ery to avoid conflict
The prior #if-ery was needlessly confusing; and most of it was redundant anyway. Change-Id: I82da1b38c08b93b9dc2220dd7b15ecb7dcc002af Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>bb10
parent
c4a21708ed
commit
2d3bbd7f17
|
|
@ -78,19 +78,11 @@ glMapBuffer
|
|||
glUnmapBuffer
|
||||
*/
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
# ifndef APIENTRYP
|
||||
# ifdef APIENTRY
|
||||
# undef APIENTRYP
|
||||
# define APIENTRYP APIENTRY *
|
||||
# else
|
||||
# define APIENTRY
|
||||
# define APIENTRYP *
|
||||
# endif
|
||||
# endif
|
||||
#else
|
||||
#ifndef APIENTRY
|
||||
# define APIENTRY
|
||||
# define APIENTRYP *
|
||||
#endif
|
||||
#ifndef APIENTRYP
|
||||
# define APIENTRYP APIENTRY *
|
||||
#endif
|
||||
|
||||
#ifndef GL_VERSION_1_2
|
||||
|
|
|
|||
Loading…
Reference in New Issue