print_gl_get.h 390 B

123456789101112131415161718192021
  1. #ifndef IGL_PRINT_GL_GET_H
  2. #define IGL_PRINT_GL_GET_H
  3. #ifndef IGL_NO_OPENGL
  4. #include "igl_inline.h"
  5. #include "OpenGL_convenience.h"
  6. namespace igl
  7. {
  8. // Prints the value of pname found by issuing glGet*(pname,*)
  9. // Inputs:
  10. // pname enum key to gl parameter
  11. IGL_INLINE void print_gl_get(GLenum pname);
  12. }
  13. #ifdef IGL_HEADER_ONLY
  14. # include "print_gl_get.cpp"
  15. #endif
  16. #endif
  17. #endif