Edit

kc3-lang/angle/include/GLES3/gl3platform.h

Branch :

  • Show log

    Commit

  • Author : Geoff Lang
    Date : 2021-01-21 16:57:38
    Hash : 61bd3440
    Message : Roll Khronos headers. Many of our GLES and EGL headers had old SGI licenses which tripped up Android's license detection. Bug: None Change-Id: Iede9a72b3619fdd77ba21895fc5a76a81f0a5790 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2643489 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Geoff Lang <geofflang@chromium.org>

  • include/GLES3/gl3platform.h
  • #ifndef __gl3platform_h_
    #define __gl3platform_h_
    
    /*
    ** Copyright 2017-2020 The Khronos Group Inc.
    ** SPDX-License-Identifier: Apache-2.0
    */
    
    /* Platform-specific types and definitions for OpenGL ES 3.X  gl3.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_APICALL
    #define GL_APICALL  KHRONOS_APICALL
    #endif
    
    #ifndef GL_APIENTRY
    #define GL_APIENTRY KHRONOS_APIENTRY
    #endif
    
    #endif /* __gl3platform_h_ */