MC
2025-12-21 15:32:16
发布于:江苏
/*
* OpenGL loader generated by glad 0.1.36 on Sun Nov 12 12:40:28 2023
*
* See https://github.com/Dav1dde/glad for more information
*/
#ifndef GLAD_GLAD_H
#define GLAD_GLAD_H
#include <stddef.h>
#include <KHR/khrplatform.h>
#ifdef __cplusplus
extern "C" {
#endif
#define GLAD_VERSION_MAJOR 0
#define GLAD_VERSION_MINOR 1
#define GLAD_VERSION_PATCH 36
#define GLAD_GLAPI_EXPORT
#define GLAPI extern
/*
* OpenGL function loading
*/
int gladLoadGLLoader(GLADloadproc loadproc);
int gladLoadGL(void);
int gladLoadGLContext(void *ctx);
/*
* OpenGL function pointers
*/
#ifndef GL_VERSION_1_0
#define GL_VERSION_1_0 1
#endif
#ifndef GL_VERSION_1_1
#define GL_VERSION_1_1 1
#endif
#ifndef GL_VERSION_1_2
#define GL_VERSION_1_2 1
#endif
#ifndef GL_VERSION_1_3
#define GL_VERSION_1_3 1
#endif
#ifndef GL_VERSION_1_4
#define GL_VERSION_1_4 1
#endif
#ifndef GL_VERSION_1_5
#define GL_VERSION_1_5 1
#endif
#ifndef GL_VERSION_2_0
#define GL_VERSION_2_0 1
#endif
#ifndef GL_VERSION_2_1
#define GL_VERSION_2_1 1
#endif
#ifndef GL_VERSION_3_0
#define GL_VERSION_3_0 1
#endif
#ifndef GL_VERSION_3_1
#define GL_VERSION_3_1 1
#endif
#ifndef GL_VERSION_3_2
#define GL_VERSION_3_2 1
#endif
#ifndef GL_VERSION_3_3
#define GL_VERSION_3_3 1
#endif
#ifndef GL_VERSION_4_0
#define GL_VERSION_4_0 1
#endif
#ifndef GL_VERSION_4_1
#define GL_VERSION_4_1 1
#endif
#ifndef GL_VERSION_4_2
#define GL_VERSION_4_2 1
#endif
#ifndef GL_VERSION_4_3
#define GL_VERSION_4_3 1
#endif
#ifndef GL_VERSION_4_4
#define GL_VERSION_4_4 1
#endif
#ifndef GL_VERSION_4_5
#define GL_VERSION_4_5 1
#endif
#ifndef GL_VERSION_4_6
#define GL_VERSION_4_6 1
#endif
/*
* GL_ARB_ES2_compatibility
*/
#ifndef GL_ARB_ES2_compatibility
#define GL_ARB_ES2_compatibility 1
#endif
/*
* GL_ARB_explicit_attrib_location
*/
#ifndef GL_ARB_explicit_attrib_location
#define GL_ARB_explicit_attrib_location 1
#endif
/*
* GL_ARB_framebuffer_object
*/
#ifndef GL_ARB_framebuffer_object
#define GL_ARB_framebuffer_object 1
#endif
/*
* GL_ARB_invalidate_subdata
*/
#ifndef GL_ARB_invalidate_subdata
#define GL_ARB_invalidate_subdata 1
#endif
/*
* GL_ARB_sampler_objects
*/
#ifndef GL_ARB_sampler_objects
#define GL_ARB_sampler_objects 1
#endif
/*
* GL_ARB_shader_objects
*/
#ifndef GL_ARB_shader_objects
#define GL_ARB_shader_objects 1
#endif
/*
* GL_ARB_texture_storage
*/
#ifndef GL_ARB_texture_storage
#define GL_ARB_texture_storage 1
#endif
/*
* GL_ARB_vertex_array_object
*/
#ifndef GL_ARB_vertex_array_object
#define GL_ARB_vertex_array_object 1
#endif
/*
* GL_EXT_texture_filter_anisotropic
*/
#ifndef GL_EXT_texture_filter_anisotropic
#define GL_EXT_texture_filter_anisotropic 1
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
#endif
/*
* GL_KHR_debug
*/
#ifndef GL_KHR_debug
#define GL_KHR_debug 1
#endif
/*
* GL_ARB_bindless_texture
*/
#ifndef GL_ARB_bindless_texture
#define GL_ARB_bindless_texture 1
#endif
/*
* GL_ARB_buffer_storage
*/
#ifndef GL_ARB_buffer_storage
#define GL_ARB_buffer_storage 1
#endif
/*
* GL_ARB_compute_shader
*/
#ifndef GL_ARB_compute_shader
#define GL_ARB_compute_shader 1
#endif
/*
* GL_ARB_derivative_control
*/
#ifndef GL_ARB_derivative_control
#define GL_ARB_derivative_control 1
#endif
/*
* GL_ARB_direct_state_access
*/
#ifndef GL_ARB_direct_state_access
#define GL_ARB_direct_state_access 1
#endif
/*
* GL_ARB_gpu_shader5
*/
#ifndef GL_ARB_gpu_shader5
#define GL_ARB_gpu_shader5 1
#endif
/*
* GL_ARB_gpu_shader_fp64
*/
#ifndef GL_ARB_gpu_shader_fp64
#define GL_ARB_gpu_shader_fp64 1
#endif
/*
* GL_ARB_indirect_parameters
*/
#ifndef GL_ARB_indirect_parameters
#define GL_ARB_indirect_parameters 1
#endif
/*
* GL_ARB_internalformat_query
*/
#ifndef GL_ARB_internalformat_query
#define GL_ARB_internalformat_query 1
#endif
/*
* GL_ARB_internalformat_query2
*/
#ifndef GL_ARB_internalformat_query2
#define GL_ARB_internalformat_query2 1
#endif
/*
* GL_ARB_multi_bind
*/
#ifndef GL_ARB_multi_bind
#define GL_ARB_multi_bind 1
#endif
/*
* GL_ARB_multi_draw_indirect
*/
#ifndef GL_ARB_multi_draw_indirect
#define GL_ARB_multi_draw_indirect 1
#endif
/*
* GL_ARB_program_interface_query
*/
#ifndef GL_ARB_program_interface_query
#define GL_ARB_program_interface_query 1
#endif
/*
* GL_ARB_robustness
*/
#ifndef GL_ARB_robustness
#define GL_ARB_robustness 1
#endif
/*
* GL_ARB_shader_bit_encoding
*/
#ifndef GL_ARB_shader_bit_encoding
#define GL_ARB_shader_bit_encoding 1
#endif
/*
* GL_ARB_shader_draw_parameters
*/
#ifndef GL_ARB_shader_draw_parameters
#define GL_ARB_shader_draw_parameters 1
#endif
/*
* GL_ARB_shader_group_vote
*/
#ifndef GL_ARB_shader_group_vote
#define GL_ARB_shader_group_vote 1
#endif
/*
* GL_ARB_shader_image_load_store
*/
#ifndef GL_ARB_shader_image_load_store
#define GL_ARB_shader_image_load_store 1
#endif
/*
* GL_ARB_shader_storage_buffer_object
*/
#ifndef GL_ARB_shader_storage_buffer_object
#define GL_ARB_shader_storage_buffer_object 1
#endif
/*
* GL_ARB_shading_language_100
*/
#ifndef GL_ARB_shading_language_100
#define GL_ARB_shading_language_100 1
#endif
/*
* GL_ARB_sparse_buffer
*/
#ifndef GL_ARB_sparse_buffer
#define GL_ARB_sparse_buffer 1
#endif
/*
* GL_ARB_sparse_texture
*/
#ifndef GL_ARB_sparse_texture
#define GL_ARB_sparse_texture 1
#endif
/*
* GL_ARB_sparse_texture2
*/
#ifndef GL_ARB_sparse_texture2
#define GL_ARB_sparse_texture2 1
#endif
/*
* GL_ARB_sparse_texture_clamp
*/
#ifndef GL_ARB_sparse_texture_clamp
#define GL_ARB_sparse_texture_clamp 1
#endif
/*
* GL_ARB_texture_buffer_object_rgb32
*/
#ifndef GL_ARB_texture_buffer_object_rgb32
#define GL_ARB_texture_buffer_object_rgb32 1
#endif
/*
* GL_ARB_texture_compression_bptc
*/
#ifndef GL_ARB_texture_compression_bptc
#define GL_ARB_texture_compression_bptc 1
#endif
/*
* GL_ARB_texture_cube_map_array
*/
#ifndef GL_ARB_texture_cube_map_array
#define GL_ARB_texture_cube_map_array 1
#endif
/*
* GL_ARB_texture_gather
*/
#ifndef GL_ARB_texture_gather
#define GL_ARB_texture_gather 1
#endif
/*
* GL_ARB_texture_query_levels
*/
#ifndef GL_ARB_texture_query_levels
#define GL_ARB_texture_query_levels 1
#endif
/*
* GL_ARB_texture_query_lod
*/
#ifndef GL_ARB_texture_query_lod
#define GL_ARB_texture_query_lod 1
#endif
/*
* GL_ARB_texture_rgb10_a2ui
*/
#ifndef GL_ARB_texture_rgb10_a2ui
#define GL_ARB_texture_rgb10_a2ui 1
#endif
/*
* GL_ARB_texture_stencil8
*/
#ifndef GL_ARB_texture_stencil8
#define GL_ARB_texture_stencil8 1
#endif
/*
* GL_ARB_texture_storage_multisample
*/
#ifndef GL_ARB_texture_storage_multisample
#define GL_ARB_texture_storage_multisample 1
#endif
/*
* GL_ARB_texture_swizzle
*/
#ifndef GL_ARB_texture_swizzle
#define GL_ARB_texture_swizzle 1
#endif
/*
* GL_ARB_timer_query
*/
#ifndef GL_ARB_timer_query
#define GL_ARB_timer_query 1
#endif
/*
* GL_ARB_transform_feedback2
*/
#ifndef GL_ARB_transform_feedback2
#define GL_ARB_transform_feedback2 1
#endif
/*
* GL_ARB_transform_feedback3
*/
#ifndef GL_ARB_transform_feedback3
#define GL_ARB_transform_feedback3 1
#endif
/*
* GL_ARB_uniform_buffer_object
*/
#ifndef GL_ARB_uniform_buffer_object
#define GL_ARB_uniform_buffer_object 1
#endif
/*
* GL_ARB_vertex_attrib_64bit
*/
#ifndef GL_ARB_vertex_attrib_64bit
#define GL_ARB_vertex_attrib_64bit 1
#endif
/*
* GL_ARB_vertex_type_10f_11f_11f_rev
*/
#ifndef GL_ARB_vertex_type_10f_11f_11f_rev
#define GL_ARB_vertex_type_10f_11f_11f_rev 1
#endif
/*
* GL_ARB_viewport_array
*/
#ifndef GL_ARB_viewport_array
#define GL_ARB_viewport_array 1
#endif
/*
* GL_EXT_abgr
*/
#ifndef GL_EXT_abgr
#define GL_EXT_abgr 1
#endif
/*
* GL_EXT_bgra
*/
#ifndef GL_EXT_bgra
#define GL_EXT_bgra 1
#endif
/*
* GL_EXT_blend_color
*/
#ifndef GL_EXT_blend_color
#define GL_EXT_blend_color 1
#endif
/*
* GL_EXT_blend_equation_separate
*/
#ifndef GL_EXT_blend_equation_separate
#define GL_EXT_blend_equation_separate 1
#endif
/*
* GL_EXT_blend_func_separate
*/
#ifndef GL_EXT_blend_func_separate
#define GL_EXT_blend_func_separate 1
#endif
/*
* GL_EXT_blend_minmax
*/
#ifndef GL_EXT_blend_minmax
#define GL_EXT_blend_minmax 1
#endif
/*
* GL_EXT_blend_subtract
*/
#ifndef GL_EXT_blend_subtract
#define GL_EXT_blend_subtract 1
#endif
/*
* GL_EXT_copy_texture
*/
#ifndef GL_EXT_copy_texture
#define GL_EXT_copy_texture 1
#endif
/*
* GL_EXT_draw_buffers2
*/
#ifndef GL_EXT_draw_buffers2
#define GL_EXT_draw_buffers2 1
#endif
/*
* GL_EXT_draw_range_elements
*/
#ifndef GL_EXT_draw_range_elements
#define GL_EXT_draw_range_elements 1
#endif
/*
* GL_EXT_fog_coord
*/
#ifndef GL_EXT_fog_coord
#define GL_EXT_fog_coord 1
#endif
/*
* GL_EXT_framebuffer_blit
*/
#ifndef GL_EXT_framebuffer_blit
#define GL_EXT_framebuffer_blit 1
#endif
/*
* GL_EXT_framebuffer_multisample
*/
#ifndef GL_EXT_framebuffer_multisample
#define GL_EXT_framebuffer_multisample 1
#endif
/*
* GL_EXT_framebuffer_object
*/
#ifndef GL_EXT_framebuffer_object
#define GL_EXT_framebuffer_object 1
#endif
/*
* GL_EXT_framebuffer_sRGB
*/
#ifndef GL_EXT_framebuffer_sRGB
#define GL_EXT_framebuffer_sRGB 1
#endif
/*
* GL_EXT_gpu_program_parameters
*/
#ifndef GL_EXT_gpu_program_parameters
#define GL_EXT_gpu_program_parameters 1
#endif
/*
* GL_EXT_multi_draw_arrays
*/
#ifndef GL_EXT_multi_draw_arrays
#define GL_EXT_multi_draw_arrays 1
#endif
/*
* GL_EXT_packed_depth_stencil
*/
#ifndef GL_EXT_packed_depth_stencil
#define GL_EXT_packed_depth_stencil 1
#endif
/*
* GL_EXT_packed_pixels
*/
#ifndef GL_EXT_packed_pixels
#define GL_EXT_packed_pixels 1
#endif
/*
* GL_EXT_polygon_offset_clamp
*/
#ifndef GL_EXT_polygon_offset_clamp
#define GL_EXT_polygon_offset_clamp 1
#endif
/*
* GL_EXT_rescale_normal
*/
#ifndef GL_EXT_rescale_normal
#define GL_EXT_rescale_normal 1
#endif
/*
* GL_EXT_secondary_color
*/
#ifndef GL_EXT_secondary_color
#define GL_EXT_secondary_color 1
#endif
/*
* GL_EXT_separate_specular_color
*/
#ifndef GL_EXT_separate_specular_color
#define GL_EXT_separate_specular_color 1
#endif
/*
* GL_EXT_shadow_funcs
*/
#ifndef GL_EXT_shadow_funcs
#define GL_EXT_shadow_funcs 1
#endif
/*
* GL_EXT_stencil_two_side
*/
#ifndef GL_EXT_stencil_two_side
#define GL_EXT_stencil_two_side 1
#endif
/*
* GL_EXT_stencil_wrap
*/
#ifndef GL_EXT_stencil_wrap
#define GL_EXT_stencil_wrap 1
#endif
/*
* GL_EXT_texture3D
*/
#ifndef GL_EXT_texture3D
#define GL_EXT_texture3D 1
#endif
/*
* GL_EXT_texture_array
*/
#ifndef GL_EXT_texture_array
#define GL_EXT_texture_array 1
#endif
/*
* GL_EXT_texture_buffer_object
*/
#ifndef GL_EXT_texture_buffer_object
#define GL_EXT_texture_buffer_object 1
#endif
/*
* GL_EXT_texture_compression_dxt1
*/
#ifndef GL_EXT_texture_compression_dxt1
#define GL_EXT_texture_compression_dxt1 1
#endif
/*
* GL_EXT_texture_compression_s3tc
*/
#ifndef GL_EXT_texture_compression_s3tc
#define GL_EXT_texture_compression_s3tc 1
#endif
/*
* GL_EXT_texture_cube_map
*/
#ifndef GL_EXT_texture_cube_map
#define GL_EXT_texture_cube_map 1
#endif
/*
* GL_EXT_texture_edge_clamp
*/
#ifndef GL_EXT_texture_edge_clamp
#define GL_EXT_texture_edge_clamp 1
#endif
/*
* GL_EXT_texture_env_add
*/
#ifndef GL_EXT_texture_env_add
#define GL_EXT_texture_env_add 1
#endif
/*
* GL_EXT_texture_env_combine
*/
#ifndef GL_EXT_texture_env_combine
#define GL_EXT_texture_env_combine 1
#endif
/*
* GL_EXT_texture_env_dot3
*/
#ifndef GL_EXT_texture_env_dot3
#define GL_EXT_texture_env_dot3 1
#endif
/*
* GL_EXT_texture_filter_anisotropic
*/
#ifndef GL_EXT_texture_filter_anisotropic
#define GL_EXT_texture_filter_anisotropic 1
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
#endif
/*
* GL_EXT_texture_integer
*/
#ifndef GL_EXT_texture_integer
#define GL_EXT_texture_integer 1
#endif
/*
* GL_EXT_texture_lod_bias
*/
#ifndef GL_EXT_texture_lod_bias
#define GL_EXT_texture_lod_bias 1
#endif
/*
* GL_EXT_texture_mirror_clamp
*/
#ifndef GL_EXT_texture_mirror_clamp
#define GL_EXT_texture_mirror_clamp 1
#endif
/*
* GL_EXT_texture_object
*/
#ifndef GL_EXT_texture_object
#define GL_EXT_texture_object 1
#endif
/*
* GL_EXT_texture_rectangle
*/
#ifndef GL_EXT_texture_rectangle
#define GL_EXT_texture_rectangle 1
#endif
/*
* GL_EXT_texture_sRGB
*/
#ifndef GL_EXT_texture_sRGB
#define GL_EXT_texture_sRGB 1
#endif
/*
* GL_EXT_texture_sRGB_decode
*/
#ifndef GL_EXT_texture_sRGB_decode
#define GL_EXT_texture_sRGB_decode 1
#endif
/*
* GL_EXT_texture_shared_exponent
*/
#ifndef GL_EXT_texture_shared_exponent
#define GL_EXT_texture_shared_exponent 1
#endif
/*
* GL_EXT_texture_swizzle
*/
#ifndef GL_EXT_texture_swizzle
#define GL_EXT_texture_swizzle 1
#endif
/*
* GL_EXT_timer_query
*/
#ifndef GL_EXT_timer_query
#define GL_EXT_timer_query 1
#endif
/*
* GL_EXT_transform_feedback
*/
#ifndef GL_EXT_transform_feedback
#define GL_EXT_transform_feedback 1
#endif
/*
* GL_EXT_vertex_array
*/
#ifndef GL_EXT_vertex_array
#define GL_EXT_vertex_array 1
#endif
/*
* GL_EXT_vertex_array_bgra
*/
#ifndef GL_EXT_vertex_array_bgra
#define GL_EXT_vertex_array_bgra 1
#endif
/*
* GL_EXT_vertex_attrib_64bit
*/
#ifndef GL_EXT_vertex_attrib_64bit
#define GL_EXT_vertex_attrib_64bit 1
#endif
/*
* GL_NV_blend_square
*/
#ifndef GL_NV_blend_square
#define GL_NV_blend_square 1
#endif
/*
* GL_NV_conditional_render
*/
#ifndef GL_NV_conditional_render
#define GL_NV_conditional_render 1
#endif
/*
* GL_NV_copy_depth_to_color
*/
#ifndef GL_NV_copy_depth_to_color
#define GL_NV_copy_depth_to_color 1
#endif
/*
* GL_NV_depth_buffer_float
*/
#ifndef GL_NV_depth_buffer_float
#define GL_NV_depth_buffer_float 1
#endif
/*
* GL_NV_ES1_1_compatibility
*/
#ifndef GL_NV_ES1_1_compatibility
#define GL_NV_ES1_1_compatibility 1
#endif
/*
* GL_NV_fence
*/
#ifndef GL_NV_fence
#define GL_NV_fence 1
#endif
/*
* GL_NV_float_buffer
*/
#ifndef GL_NV_float_buffer
#define GL_NV_float_buffer 1
#endif
/*
* GL_NV_fog_distance
*/
#ifndef GL_NV_fog_distance
#define GL_NV_fog_distance 1
#endif
/*
* GL_NV_fragment_program
*/
#ifndef GL_NV_fragment_program
#define GL_NV_fragment_program 1
#endif
/*
* GL_NV_fragment_program_option
*/
#ifndef GL_NV_fragment_program_option
#define GL_NV_fragment_program_option 1
#endif
/*
* GL_NV_fragment_program2
*/
#ifndef GL_NV_fragment_program2
#define GL_NV_fragment_program2 1
#endif
/*
* GL_NV_framebuffer_multisample_coverage
*/
#ifndef GL_NV_framebuffer_multisample_coverage
#define GL_NV_framebuffer_multisample_coverage 1
#endif
/*
* GL_NV_gpu_program4
*/
#ifndef GL_NV_gpu_program4
#define GL_NV_gpu_program4 1
#endif
/*
* GL_NV_half_float
*/
#ifndef GL_NV_half_float
#define GL_NV_half_float 1
#endif
/*
* GL_NV_light_max_exponent
*/
#ifndef GL_NV_light_max_exponent
#define GL_NV_light_max_exponent 1
#endif
/*
* GL_NV_multisample_filter_hint
*/
#ifndef GL_NV_multisample_filter_hint
#define GL_NV_multisample_filter_hint 1
#endif
/*
* GL_NV_occlusion_query
*/
#ifndef GL_NV_occlusion_query
#define GL_NV_occlusion_query 1
#endif
/*
* GL_NV_occlusion_query2
*/
#ifndef GL_NV_occlusion_query2
#define GL_NV_occlusion_query2 1
#endif
/*
* GL_NV_packed_depth_stencil
*/
#ifndef GL_NV_packed_depth_stencil
#define GL_NV_packed_depth_stencil 1
#endif
/*
* GL_NV_parameter_buffer_object
*/
#ifndef GL_NV_parameter_buffer_object
#define GL_NV_parameter_buffer_object 1
#endif
/*
* GL_NV_parameter_buffer_object2
*/
#ifndef GL_NV_parameter_buffer_object2
#define GL_NV_parameter_buffer_object2 1
#endif
/*
* GL_NV_path_rendering
*/
#ifndef GL_NV_path_rendering
#define GL_NV_path_rendering 1
#endif
/*
* GL_NV_pixel_data_range
*/
#ifndef GL_NV_pixel_data_range
#define GL_NV_pixel_data_range 1
#endif
/*
* GL_NV_point_sprite
*/
#ifndef GL_NV_point_sprite
#define GL_NV_point_sprite 1
#endif
/*
* GL_NV_primitive_restart
*/
#ifndef GL_NV_primitive_restart
#define GL_NV_primitive_restart 1
#endif
/*
* GL_NV_register_combiners
*/
#ifndef GL_NV_register_combiners
#define GL_NV_register_combiners 1
#endif
/*
* GL_NV_register_combiners2
*/
#ifndef GL_NV_register_combiners2
#define GL_NV_register_combiners2 1
#endif
/*
* GL_NV_shader_atomic_counters
*/
#ifndef GL_NV_shader_atomic_counters
#define GL_NV_shader_atomic_counters 1
#endif
/*
* GL_NV_shader_buffer_load
*/
#ifndef GL_NV_shader_buffer_load
#define GL_NV_shader_buffer_load 1
#endif
/*
* GL_NV_shader_storage_buffer_object
*/
#ifndef GL_NV_shader_storage_buffer_object
#define GL_NV_shader_storage_buffer_object 1
#endif
/*
* GL_NV_texgen_reflection
*/
#ifndef GL_NV_texgen_reflection
#define GL_NV_texgen_reflection 1
#endif
/*
* GL_NV_texture_barrier
*/
#ifndef GL_NV_texture_barrier
#define GL_NV_texture_barrier 1
#endif
/*
* GL_NV_texture_compression_vtc
*/
#ifndef GL_NV_texture_compression_vtc
#define GL_NV_texture_compression_vtc 1
#endif
/*
* GL_NV_texture_env_combine4
*/
#ifndef GL_NV_texture_env_combine4
#define GL_NV_texture_env_combine4 1
#endif
/*
* GL_NV_texture_expand_normal
*/
#ifndef GL_NV_texture_expand_normal
#define GL_NV_texture_expand_normal 1
#endif
/*
* GL_NV_texture_multisample
*/
#ifndef GL_NV_texture_multisample
#define GL_NV_texture_multisample 1
#endif
/*
* GL_NV_texture_rectangle
*/
#ifndef GL_NV_texture_rectangle
#define GL_NV_texture_rectangle 1
#endif
/*
* GL_NV_texture_shader
*/
#ifndef GL_NV_texture_shader
#define GL_NV_texture_shader 1
#endif
/*
* GL_NV_texture_shader2
*/
#ifndef GL_NV_texture_shader2
#define GL_NV_texture_shader2 1
#endif
/*
* GL_NV_texture_shader3
*/
#ifndef GL_NV_texture_shader3
#define GL_NV_texture_shader3 1
#endif
/*
* GL_NV_transform_feedback
*/
#ifndef GL_NV_transform_feedback
#define GL_NV_transform_feedback 1
#endif
/*
* GL_NV_transform_feedback2
*/
#ifndef GL_NV_transform_feedback2
#define GL_NV_transform_feedback2 1
#endif
/*
* GL_NV_vertex_array_range
*/
#ifndef GL_NV_vertex_array_range
#define GL_NV_vertex_array_range 1
#endif
/*
* GL_NV_vertex_array_range2
*/
#ifndef GL_NV_vertex_array_range2
#define GL_NV_vertex_array_range2 1
#endif
/*
* GL_NV_vertex_buffer_unified_memory
*/
#ifndef GL_NV_vertex_buffer_unified_memory
#define GL_NV_vertex_buffer_unified_memory 1
#endif
/*
* GL_NV_vertex_program
*/
#ifndef GL_NV_vertex_program
#define GL_NV_vertex_program 1
#endif
/*
* GL_NV_vertex_program1_1
*/
#ifndef GL_NV_vertex_program1_1
#define GL_NV_vertex_program1_1 1
#endif
/*
* GL_NV_vertex_program2
*/
#ifndef GL_NV_vertex_program2
#define GL_NV_vertex_program2 1
#endif
/*
* GL_NV_vertex_program2_option
*/
#ifndef GL_NV_vertex_program2_option
#define GL_NV_vertex_program2_option 1
#endif
/*
* GL_NV_vertex_program3
*/
#ifndef GL_NV_vertex_program3
#define GL_NV_vertex_program3 1
#endif
/*
* GL_NV_vertex_program4
*/
#ifndef GL_NV_vertex_program4
#define GL_NV_vertex_program4 1
#endif
/*
* GL_NV_vertex_program4_1
*/
#ifndef GL_NV_vertex_program4_1
#define GL_NV_vertex_program4_1 1
#endif
/*
* GL_NV_vertex_program5
*/
#ifndef GL_NV_vertex_program5
#define GL_NV_vertex_program5 1
#endif
/*
* GL_NV_vertex_program2_option
*/
#ifndef GL_NV_vertex_program2_option
#define GL_NV_vertex_program2_option 1
#endif
/*
* GL_NV_vertex_program3
*/
#ifndef GL_NV_vertex_program3
#define GL_NV_vertex_program3 1
#endif
/*
* GL_NV_vertex_program4
*/
#ifndef GL_NV_vertex_program4
#define GL_NV_vertex_program4 1
#endif
/*
* GL_NV_vertex_program4_1
*/
#ifndef GL_NV_vertex_program4_1
#define GL_NV_vertex_program4_1 1
#endif
/*
* GL_NV_vertex_program5
*/
#ifndef GL_NV_vertex_program5
#define GL_NV_vertex_program5 1
#endif
/*
* GL_ARB_sync
*/
#ifndef GL_ARB_sync
#define GL_ARB_sync 1
#endif
/*
* GL_ARB_texture_mirrored_repeat
*/
#ifndef GL_ARB_texture_mirrored_repeat
#define GL_ARB_texture_mirrored_repeat 1
#endif
/*
* GL_ARB_window_pos
*/
#ifndef GL_ARB_window_pos
#define GL_ARB_window_pos 1
#endif
/*
* GL_ATI_draw_buffers
*/
#ifndef GL_ATI_draw_buffers
#define GL_ATI_draw_buffers 1
#endif
/*
* GL_ATI_texture_compression_3dc
*/
#ifndef GL_ATI_texture_compression_3dc
#define GL_ATI_texture_compression_3dc 1
#endif
/*
* GL_ATI_texture_env_combine3
*/
#ifndef GL_ATI_texture_env_combine3
#define GL_ATI_texture_env_combine3 1
#endif
/*
* GL_ATI_texture_float
*/
#ifndef GL_ATI_texture_float
#define GL_ATI_texture_float 1
#endif
/*
* GL_ATI_texture_mirror_once
*/
#ifndef GL_ATI_texture_mirror_once
#define GL_ATI_texture_mirror_once 1
#endif
/*
* GL_S3_s3tc
*/
#ifndef GL_S3_s3tc
#define GL_S3_s3tc 1
#endif
/*
* WGL extensions
*/
#ifndef WGL_ARB_buffer_region
#define WGL_ARB_buffer_region 1
#endif
#ifndef WGL_ARB_create_context
#define WGL_ARB_create_context 1
#endif
#ifndef WGL_ARB_create_context_profile
#define WGL_ARB_create_context_profile 1
#endif
#ifndef WGL_ARB_extensions_string
#define WGL_ARB_extensions_string 1
#endif
#ifndef WGL_ARB_make_current_read
#define WGL_ARB_make_current_read 1
#endif
#ifndef WGL_ARB_pbuffer
#define WGL_ARB_pbuffer 1
#endif
#ifndef WGL_ARB_pixel_format
#define WGL_ARB_pixel_format 1
#endif
#ifndef WGL_ARB_render_texture
#define WGL_ARB_render_texture 1
#endif
#ifndef WGL_ARB_robustness_application_isolation
#define WGL_ARB_robustness_application_isolation 1
#endif
#ifndef WGL_ARB_robustness_share_group_isolation
#define WGL_ARB_robustness_share_group_isolation 1
#endif
#ifndef WGL_EXT_extensions_string
#define WGL_EXT_extensions_string 1
#endif
#ifndef WGL_EXT_framebuffer_sRGB
#define WGL_EXT_framebuffer_sRGB 1
#endif
#ifndef WGL_EXT_pixel_format_packed_float
#define WGL_EXT_pixel_format_packed_float 1
#endif
#ifndef WGL_EXT_swap_control
#define WGL_EXT_swap_control 1
#endif
#ifndef WGL_EXT_swap_control_tear
#define WGL_EXT_swap_control_tear 1
#endif
#ifndef WGL_NV_DX_interop
#define WGL_NV_DX_interop 1
#endif
#ifndef WGL_NV_DX_interop2
#define WGL_NV_DX_interop2 1
#endif
#ifndef WGL_NV_copy_image
#define WGL_NV_copy_image 1
#endif
#ifndef WGL_NV_delay_before_swap
#define WGL_NV_delay_before_swap 1
#endif
#ifndef WGL_NV_float_buffer
#define WGL_NV_float_buffer 1
#endif
#ifndef WGL_NV_multisample_coverage
#define WGL_NV_multisample_coverage 1
#endif
#ifndef WGL_NV_present_video
#define WGL_NV_present_video 1
#endif
#ifndef WGL_NV_render_depth_texture
#define WGL_NV_render_depth_texture 1
#endif
#ifndef WGL_NV_render_texture_rectangle
#define WGL_NV_render_texture_rectangle 1
#endif
#ifndef WGL_NV_swap_group
#define WGL_NV_swap_group 1
#endif
#ifndef WGL_NV_vertex_array_range
#define WGL_NV_vertex_array_range 1
#endif
#ifndef WGL_NV_vertex_array_range2
#define WGL_NV_vertex_array_range2 1
#endif
/*
* WGL functions
*/
#ifndef WGL_GLEXT_PROTOTYPES
#define WGL_GLEXT_PROTOTYPES 1
#endif
#include <GL/gl.h>
/*
* WGL types
*/
typedef HGLRC (WINAPI * PFNWGLGETCURRENTCONTEXTPROC) (void);
typedef HDC (WINAPI * PFNWGLGETCURRENTDCPROC) (void);
typedef BOOL (WINAPI * PFNWGLMAKECURRENTPROC) (HDC hdc, HGLRC hglrc);
typedef BOOL (WINAPI * PFNWGLSHARELISTS) (HGLRC hglrc1, HGLRC hglrc2);
typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTPROC) (HDC hdc);
typedef BOOL (WINAPI * PFNWGLDELETECONTEXTPROC) (HGLRC hglrc);
typedef BOOL (WINAPI * PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
typedef BOOL (WINAPI * PFNWGLGETEXTENSIONSSTRINGEXTPROC) (void);
typedef int (WINAPI * PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
typedef HGLRC (WINAPI * PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hdc, HGLRC hShareContext, const int *attribList);
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
typedef BOOL (WINAPI * PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
typedef BOOL (WINAPI * PFNWGLBINDTEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
typedef BOOL (WINAPI * PFNWGLRELEASETEXIMAGEARBPROC) (HPBUFFERARB hPbuffer, int iBuffer);
typedef BOOL (WINAPI * PFNWGLSETPIXELFORMATATTRIBIVARBPROC) (HPBUFFERARB hPbuffer, int iLayerPlane, UINT nAttributes, const int *piAttributes);
typedef BOOL (WINAPI * PFNWGLSETPIXELFORMATATTRIBFVARBPROC) (HPBUFFERARB hPbuffer, int iLayerPlane, UINT nAttributes, const FLOAT *pfAttributes);
typedef HPBUFFERARB (WINAPI * PFNWGLCREATEPBUFFERARBPROC) (HDC hdc, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
typedef BOOL (WINAPI * PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
typedef HDC (WINAPI * PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
typedef BOOL (WINAPI * PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hdc);
typedef BOOL (WINAPI * PFNWGLQUERYPIXELFORMATARBPROC) (HDC hdc, int iPixelFormat, UINT nAttributes, const int *piAttributes, int *piValues);
typedef BOOL (WINAPI * PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
typedef BOOL (WINAPI * PFNWGLSWAPINTERVALEXTPROC) (int interval);
typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void);
typedef BOOL (WINAPI * PFNWGLSWAPINTERVALTEAREXTPROC) (int interval);
typedef HANDLE (WINAPI * PFNWGLDXOPENDEVICENVPROC) (HANDLE hDevice, REFIID riid, void **ppDevice);
typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
typedef BOOL (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, GLuint name, HANDLE hResource, GLenum type, GLuint access);
typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, GLuint name);
typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLuint count, const GLuint *names);
typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLuint count, const GLuint *names);
typedef BOOL (WINAPI * PFNWGLDXSETRESOURCENVPROC) (HANDLE hDevice, GLuint name, HANDLE hResource, GLenum type, GLuint access);
typedef BOOL (WINAPI * PFNWGLDXOPENDEVICENVPROC) (HANDLE hDevice, REFIID riid, void **ppDevice);
typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
typedef BOOL (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, GLuint name, HANDLE hResource, GLenum type, GLuint access);
typedef BOOL (WINAPI * PFNWGLDXUNREGISTEROBJECTNVPROC) (HANDLE hDevice, GLuint name);
typedef BOOL (WINAPI * PFNWGLDXLOCKOBJECTSNVPROC) (HANDLE hDevice, GLuint count, const GLuint *names);
typedef BOOL (WINAPI * PFNWGLDXUNLOCKOBJECTSNVPROC) (HANDLE hDevice, GLuint count, const GLuint *names);
typedef BOOL (WINAPI * PFNWGLDXSETRESOURCENVPROC) (HANDLE hDevice, GLuint name, HANDLE hResource, GLenum type, GLuint access);
typedef BOOL (WINAPI * PFNWGLDXOPENDEVICENVPROC) (HANDLE hDevice, REFIID riid, void **ppDevice);
typedef BOOL (WINAPI * PFNWGLDXCLOSEDEVICENVPROC) (HANDLE hDevice);
typedef BOOL (WINAPI * PFNWGLDXREGISTEROBJECTNVPROC) (HANDLE hDevice, GLuint name, HANDLE hResource, GLenum type, GLuint access);
typedef BOOL (WINAPI * PFNW
这里空空如也







有帮助,赞一个