Commit 930d3e62 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

wined3d: Allow to apply extension emulation wrappers independently.

parent 12ef1756
...@@ -3805,7 +3805,8 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter) ...@@ -3805,7 +3805,8 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter)
fixup_extensions(gl_info, gl_renderer_str, gl_vendor, card_vendor, device); fixup_extensions(gl_info, gl_renderer_str, gl_vendor, card_vendor, device);
init_driver_info(driver_info, card_vendor, device); init_driver_info(driver_info, card_vendor, device);
add_gl_compat_wrappers(gl_info); install_gl_compat_wrapper(gl_info, ARB_MULTITEXTURE);
install_gl_compat_wrapper(gl_info, EXT_FOG_COORD);
return TRUE; return TRUE;
} }
......
...@@ -1812,7 +1812,7 @@ BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter, ...@@ -1812,7 +1812,7 @@ BOOL wined3d_adapter_init_format_info(struct wined3d_adapter *adapter,
UINT64 adapter_adjust_memory(struct wined3d_adapter *adapter, INT64 amount) DECLSPEC_HIDDEN; UINT64 adapter_adjust_memory(struct wined3d_adapter *adapter, INT64 amount) DECLSPEC_HIDDEN;
BOOL initPixelFormatsNoGL(struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN; BOOL initPixelFormatsNoGL(struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN;
extern void add_gl_compat_wrappers(struct wined3d_gl_info *gl_info) DECLSPEC_HIDDEN; void install_gl_compat_wrapper(struct wined3d_gl_info *gl_info, enum wined3d_gl_extension ext) DECLSPEC_HIDDEN;
enum projection_types enum projection_types
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment