ITADN

Fix issue #492: Handle GL implementations with 0 extensions

#518Pull Requestkillerdevildog 创建于 2025-08-05
K
killerdevildogcommented
The get_exts() function incorrectly treated implementations with 0 extensions as an error case. This fix distinguishes between 'no extensions needed' (valid) and 'memory allocation failure' (error). - Modified glad/generator/c/templates/gl.c template logic - Separate handling for num_exts_i == 0 vs num_exts_i > 0 cases - Maintains full backward compatibility Fixes #492
合并状态:未合并 关闭于 2025-08-05 3 条评论