wined3d: Add EXT_texture_integer extension.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4366407245
commit
5b9400ff77
|
@ -194,6 +194,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
|
|||
{"GL_EXT_texture_env_combine", EXT_TEXTURE_ENV_COMBINE },
|
||||
{"GL_EXT_texture_env_dot3", EXT_TEXTURE_ENV_DOT3 },
|
||||
{"GL_EXT_texture_filter_anisotropic", EXT_TEXTURE_FILTER_ANISOTROPIC},
|
||||
{"GL_EXT_texture_integer", EXT_TEXTURE_INTEGER },
|
||||
{"GL_EXT_texture_lod_bias", EXT_TEXTURE_LOD_BIAS },
|
||||
{"GL_EXT_texture_mirror_clamp", EXT_TEXTURE_MIRROR_CLAMP },
|
||||
{"GL_EXT_texture_snorm", EXT_TEXTURE_SNORM },
|
||||
|
@ -3408,6 +3409,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter)
|
|||
{ARB_TEXTURE_FLOAT, MAKEDWORD_VERSION(3, 0)},
|
||||
{ARB_TEXTURE_RG, MAKEDWORD_VERSION(3, 0)},
|
||||
{EXT_DRAW_BUFFERS2, MAKEDWORD_VERSION(3, 0)},
|
||||
{EXT_TEXTURE_INTEGER, MAKEDWORD_VERSION(3, 0)},
|
||||
/* We don't want to enable EXT_GPU_SHADER4: even though similar
|
||||
* functionality is available in core GL 3.0 / GLSL 1.30, it's different
|
||||
* enough that reusing the same flag for the new features hurts more
|
||||
|
|
|
@ -128,6 +128,7 @@ enum wined3d_gl_extension
|
|||
EXT_TEXTURE_ENV_COMBINE,
|
||||
EXT_TEXTURE_ENV_DOT3,
|
||||
EXT_TEXTURE_FILTER_ANISOTROPIC,
|
||||
EXT_TEXTURE_INTEGER,
|
||||
EXT_TEXTURE_LOD_BIAS,
|
||||
EXT_TEXTURE_MIRROR_CLAMP,
|
||||
EXT_TEXTURE_SNORM,
|
||||
|
|
Loading…
Reference in New Issue