| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** The OpenGL Extension Wrangler Library | 2 ** The OpenGL Extension Wrangler Library |
| 3 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> | 3 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org> |
| 4 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> | 4 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org> |
| 5 ** Copyright (C) 2002, Lev Povalahev | 5 ** Copyright (C) 2002, Lev Povalahev |
| 6 ** All rights reserved. | 6 ** All rights reserved. |
| 7 ** | 7 ** |
| 8 ** Redistribution and use in source and binary forms, with or without | 8 ** Redistribution and use in source and binary forms, with or without |
| 9 ** modification, are permitted provided that the following conditions are met: | 9 ** modification, are permitted provided that the following conditions are met: |
| 10 ** | 10 ** |
| (...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1422 | 1422 |
| 1423 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x)) | 1423 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x)) |
| 1424 #define GLXEW_GET_FUN(x) x | 1424 #define GLXEW_GET_FUN(x) x |
| 1425 | 1425 |
| 1426 #else /* GLEW_MX */ | 1426 #else /* GLEW_MX */ |
| 1427 | 1427 |
| 1428 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x) | 1428 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x) |
| 1429 #define GLXEW_GET_FUN(x) x | 1429 #define GLXEW_GET_FUN(x) x |
| 1430 | 1430 |
| 1431 extern GLenum glxewInit (); | 1431 extern GLenum glxewInit (); |
| 1432 extern GLenum glxewContextInit (); |
| 1432 extern GLboolean glxewIsSupported (const char* name); | 1433 extern GLboolean glxewIsSupported (const char* name); |
| 1433 | 1434 |
| 1434 #endif /* GLEW_MX */ | 1435 #endif /* GLEW_MX */ |
| 1435 | 1436 |
| 1436 extern GLboolean glxewGetExtension (const char* name); | 1437 extern GLboolean glxewGetExtension (const char* name); |
| 1437 | 1438 |
| 1438 #ifdef __cplusplus | 1439 #ifdef __cplusplus |
| 1439 } | 1440 } |
| 1440 #endif | 1441 #endif |
| 1441 | 1442 |
| 1442 #endif /* __glxew_h__ */ | 1443 #endif /* __glxew_h__ */ |
| OLD | NEW |