12345678910111213141516171819202122232425262728 |
- // This file is part of libigl, a simple c++ geometry processing library.
- //
- // Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
- //
- // This Source Code Form is subject to the terms of the Mozilla Public License
- // v. 2.0. If a copy of the MPL was not distributed with this file, You can
- // obtain one at http://mozilla.org/MPL/2.0/.
- #ifndef IGL_PRINT_GL_GET_H
- #define IGL_PRINT_GL_GET_H
- #ifndef IGL_NO_OPENGL
- #include "igl_inline.h"
- #include "OpenGL_convenience.h"
- namespace igl
- {
- // Prints the value of pname found by issuing glGet*(pname,*)
- // Inputs:
- // pname enum key to gl parameter
- IGL_INLINE void print_gl_get(GLenum pname);
- }
- #ifdef IGL_HEADER_ONLY
- # include "print_gl_get.cpp"
- #endif
- #endif
- #endif
|