BindingsGlsc.h#

Parent directory (OpenGLSC)

Includes the OpenGL ES Headers necessary for using OpenGL ES directly in your code, through the provided gl:: and glext:: classes.

Includes#

  • DynamicGlsc.h

  • PVRCore/Log.h

  • PVRUtils/EGL/EglPlatformContext.h

Included By#

Defines#

Source Code#

#pragma once
#include "PVRCore/Log.h"

// clang-format off
#define PVR_LOG_ERROR(...) do{ Log(LogLevel::Error,__VA_ARGS__); }while(false)
// clang-format on

// clang-format off
#define PVR_LOG_INFO(...) do{ Log(LogLevel::Information,__VA_ARGS__); }while(false)
// clang-format on

#define DYNAMICGLES_GLES20

#include "DynamicGlsc.h"

#if defined(GL_ES_VERSION_2_0)
#if !defined(GL_KHR_debug)
typedef void(GL_APIENTRY* GLDEBUGPROCKHR)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam);
#endif
#endif

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "PVRUtils/EGL/EglPlatformContext.h"