Files

16 lines
464 B
C++
Raw Permalink Normal View History

2026-08-03 18:42:47 +08:00
#pragma once
#include "os_gl.h"
#include <string_view>
struct PyMOLGlobals;
bool CheckGLErrorOK(PyMOLGlobals* G, std::string_view errString);
void GLAPIENTRY gl_debug_proc(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, const void *);
// userParam is qualified as const in OpenGL 4.4 spec but non-const in OpenGL 4.3 spec
void GLAPIENTRY gl_debug_proc(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, void *);
size_t gl_sizeof(GLenum type);