print_program_info_log.h 496 B

1234567891011121314151617181920212223242526
  1. #ifndef IGL_PRINT_PROGRAM_INFO_LOG_H
  2. #define IGL_PRINT_PROGRAM_INFO_LOG_H
  3. #include "igl_inline.h"
  4. #ifdef __APPLE__
  5. # include <OpenGL/gl.h>
  6. #else
  7. # ifdef _WIN32
  8. # define NOMINMAX
  9. # include <Windows.h>
  10. # undef NOMINMAX
  11. # endif
  12. # include <GL/gl.h>
  13. #endif
  14. namespace igl
  15. {
  16. // Inputs:
  17. // obj OpenGL index of program to print info log about
  18. IGL_INLINE void print_program_info_log(const GLuint obj);
  19. }
  20. #ifdef IGL_HEADER_ONLY
  21. # include "print_program_info_log.cpp"
  22. #endif
  23. #endif