File: glplatform.h

package info (click to toggle)
mesa 25.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 322,268 kB
  • sloc: ansic: 2,212,173; xml: 1,032,268; cpp: 519,750; python: 81,988; asm: 40,568; yacc: 11,976; lisp: 5,067; lex: 3,452; sh: 1,049; makefile: 224
file content (27 lines) | stat: -rw-r--r-- 634 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef __glplatform_h_
#define __glplatform_h_

/*
** Copyright 2017-2020 The Khronos Group Inc.
** SPDX-License-Identifier: Apache-2.0
*/

/* Platform-specific types and definitions for OpenGL ES 1.X  gl.h
 *
 * Adopters may modify khrplatform.h and this file to suit their platform.
 * Please contribute modifications back to Khronos as pull requests on the
 * public github repository:
 *      https://github.com/KhronosGroup/OpenGL-Registry
 */

#include <KHR/khrplatform.h>

#ifndef GL_API
#define GL_API      KHRONOS_APICALL
#endif

#ifndef GL_APIENTRY
#define GL_APIENTRY KHRONOS_APIENTRY
#endif

#endif /* __glplatform_h_ */