Take a look - may be useful

Hello!

I’ve written a small lib for treating extensions like static functions under windows - it simplifies the use of extensions significantly. My small library is available on my website - see my profile. I support OpenGL 1.2 and 1.3 functionality (yes I also wrote opengl 1.2 + 1.3 header) and following extensions:

ARB_imaging
ARB_texture_compression
ARB_texture_env_combine
ARB_texture_env_dot3
ARB_texture_env_add
ARB_texture_border_clamp
ARB_texture_cube_map
ARB_transpose_matrix
ARB_multisample
ARB_multitexture
EXT_abgr
EXT_compiled_vertex_array
EXT_fog_coord
EXT_point_parameters
EXT_secondary_color
EXT_stencil_wrap
EXT_texture_filter_anisotropic
EXT_texture_lod_bias
EXT_vertex_weighting
ATI_pn_triangles
NV_blend_square
NV_copy_depth_to_color
NV_evaluators
NV_fence
NV_fog_distance
NV_light_max_exponent
NV_vertex_program
NV_packed_depth_stencil
NV_register_combiners
NV_register_combiners2
NV_texgen_reflection
NV_texture_env_combine4
NV_texture_rectangle
NV_texture_shader
NV_texture_shader2
NV_vertex_array_range
NV_vertex_array_range2
SGIS_generate_mipmap
SGIX_shadow
SGIX_depth_texture

This means if you want to use that extensions with my lib, you just have to check if the driver supports it by checking for a substring in GL_EXTENSIONS. And if the driver supports it you can use it just like OpenGL 1.1 functions. (Only thing you have to do is to call 1 function after creating the rc)

Since I recently saw a thread about OpenGL 1.3 headers I thought some people may find this thing useful.

The lib comes with full source.

Cheers,
-Lev

[This message has been edited by Lev (edited 01-18-2002).]