ITADN

glad/egl.h missing when generating OpenGL ES

#519Closedsilentptr 创建于 2025-08-18
S
silentptrcommented
Hi, I just generated GLAD with the following settings: ``` /** * Loader generated by glad 2.0.8 on Mon Aug 18 01:10:24 2025 * * SPDX-License-Identifier: (WTFPL OR CC0-1.0) AND Apache-2.0 * * Generator: C/C++ * Specification: gl * Extensions: 0 * * APIs: * - gles2=3.1 * * Options: * - ALIAS = False * - DEBUG = False * - HEADER_ONLY = False * - LOADER = True * - MX = True * - ON_DEMAND = False * * Commandline: * --api='gles2=3.1' --extensions='' c --loader --mx * * Online: * http://glad.sh/#api=gles2%3D3.1&extensions=&generator=c&options=LOADER%2CMX * */ ``` Under these settings, on line 593 of src/gles2.c, it attempts to include the file glad/egl.h but this file is not included. I am on Windows 11 using Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35214 for x64.
关闭于 2026-01-24 2 条评论