[Fix] (getter.c): Disable some extensions that may be imcomplete.

Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
BZLZHH 2025-01-30 18:09:01 +08:00
parent ac7ff18ca7
commit 8e6fd704f9

View File

@ -48,14 +48,10 @@ GLenum glGetError() {
char* GetExtensionsList() {
char *extensions = (char*)malloc(20000);
strcpy(extensions,
"GL_EXT_abgr "
/*"GL_EXT_abgr "
"GL_EXT_packed_pixels "
"GL_EXT_compiled_vertex_array "
"GL_EXT_compiled_vertex_arrays "
"GL_ARB_vertex_buffer_object "
"GL_ARB_vertex_array_object "
"GL_ARB_vertex_buffer "
"GL_EXT_vertex_array "
"GL_EXT_secondary_color "
"GL_ARB_multitexture "
"GL_ARB_texture_border_clamp "
@ -104,8 +100,6 @@ char* GetExtensionsList() {
"GL_ARB_clear_buffer_object "
"GL_INTEL_map_texture "
"GL_ARB_texture_compression_bptc "
"GL_ARB_ES2_compatibility "
"GL_ARB_ES3_compatibility "
"GL_ARB_robustness "
"GL_ARB_robust_buffer_access_behavior "
"GL_EXT_texture_sRGB_decode "
@ -120,7 +114,6 @@ char* GetExtensionsList() {
"GL_ARB_indirect_parameters "
"GL_ARB_texture_rectangle "
"GL_ARB_vertex_array_bgra "
//"GL_APPLE_texture_2D_limited_npot "
"GL_EXT_texture_filter_anisotropic "
"GL_ARB_texture_mirrored_repeat "
"GL_EXT_blend_equation_separate "
@ -131,7 +124,6 @@ char* GetExtensionsList() {
"GL_EXT_blend_minmax "
"GL_ARB_framebuffer_object "
"GL_EXT_framebuffer_object "
"GL_EXT_packed_depth_stencil "
"GL_EXT_framebuffer_blit "
"GL_ARB_draw_buffers "
"GL_EXT_draw_buffers2 "
@ -146,8 +138,6 @@ char* GetExtensionsList() {
"GL_EXT_texture_half_float "
"GL_EXT_color_buffer_float "
"GL_EXT_color_buffer_half_float "
"GL_EXT_depth_texture "
"GL_ARB_depth_texture "
"GL_EXT_fog_coord "
"GL_EXT_separate_specular_color "
"GL_EXT_rescale_normal "
@ -156,7 +146,6 @@ char* GetExtensionsList() {
"GL_ARB_fragment_shader "
"GL_ARB_vertex_shader "
"GL_ARB_shader_objects "
"GL_ARB_shading_language_100 "
"GL_ATI_texture_env_combine3 "
"GL_ATIX_texture_env_route "
"GL_NV_texture_env_combine4 "
@ -164,8 +153,19 @@ char* GetExtensionsList() {
"GL_ARB_draw_instanced "
"GL_ARB_instanced_arrays "
"GL_ARB_vertex_program "
"GL_ARB_fragment_program "
"GL_EXT_program_parameters "
*/
"GL_ARB_fragment_program "
"GL_ARB_vertex_buffer_object "
"GL_ARB_vertex_array_object "
"GL_ARB_vertex_buffer "
"GL_EXT_vertex_array "
"GL_ARB_ES2_compatibility "
"GL_ARB_ES3_compatibility "
"GL_EXT_packed_depth_stencil "
"GL_EXT_depth_texture "
"GL_ARB_depth_texture "
"GL_ARB_shading_language_100 "
"ARB_imaging "
"GL_ARB_draw_buffers_blend "
"OpenGL30 "