2021-12-26 13:28:40 +01:00
|
|
|
/*
|
2022-09-01 13:27:11 +02:00
|
|
|
* Copyright (c) 2021-2022, Jelle Raaijmakers <jelle@gmta.nl>
|
2021-12-26 13:28:40 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#ifndef GLAPI
|
|
|
|
|
# define GLAPI extern
|
|
|
|
|
#endif
|
|
|
|
|
#define GLAPIENTRY
|
|
|
|
|
#define APIENTRY GLAPIENTRY
|
|
|
|
|
#ifndef APIENTRYP
|
|
|
|
|
# define APIENTRYP APIENTRY*
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
// OpenGL typedefs
|
|
|
|
|
//
|
|
|
|
|
// Defines types used by all OpenGL applications
|
|
|
|
|
// https://www.khronos.org/opengl/wiki/OpenGL_Type
|
|
|
|
|
typedef char GLchar;
|
2022-09-01 13:27:11 +02:00
|
|
|
typedef signed char GLbyte;
|
2021-12-26 13:28:40 +01:00
|
|
|
typedef unsigned char GLuchar;
|
|
|
|
|
typedef unsigned char GLubyte;
|
|
|
|
|
typedef unsigned char GLboolean;
|
|
|
|
|
typedef short GLshort;
|
|
|
|
|
typedef unsigned short GLushort;
|
|
|
|
|
typedef int GLint;
|
2023-01-03 16:56:45 +01:00
|
|
|
typedef long GLint64;
|
2022-10-15 22:50:32 +02:00
|
|
|
typedef long GLintptr;
|
2021-12-26 13:28:40 +01:00
|
|
|
typedef unsigned int GLuint;
|
2023-01-03 16:56:45 +01:00
|
|
|
typedef unsigned long GLuint64;
|
2021-12-26 13:28:40 +01:00
|
|
|
typedef int GLfixed;
|
|
|
|
|
typedef int GLsizei;
|
2023-01-03 16:55:40 +01:00
|
|
|
typedef long GLsizeiptr;
|
2021-12-26 13:28:40 +01:00
|
|
|
typedef void GLvoid;
|
|
|
|
|
typedef float GLfloat;
|
2021-12-24 14:38:29 +01:00
|
|
|
typedef double GLclampd;
|
2021-12-26 13:28:40 +01:00
|
|
|
typedef float GLclampf;
|
|
|
|
|
typedef double GLdouble;
|
|
|
|
|
typedef unsigned int GLenum;
|
|
|
|
|
typedef unsigned int GLbitfield;
|