Commit ba350926 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

wined3d: Spelling fixes.

parent abd26b9d
......@@ -819,9 +819,9 @@ static void create_default_sampler(struct wined3d_device *device)
const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
/*
* In SM4+ shaders there is a separation between resources and samplers. Some of shader
* instructions allow to access resources without using samplers.
* In GLSL resources are always accessed through sampler or image variables. The default
* In SM4+ shaders there is a separation between resources and samplers. Some shader
* instructions allow access to resources without using samplers.
* In GLSL, resources are always accessed through sampler or image variables. The default
* sampler object is used to emulate the direct resource access when there is no sampler state
* to use.
*/
......
......@@ -43,7 +43,7 @@ static BOOL wined3d_texture_use_immutable_storage(const struct wined3d_texture *
const struct wined3d_gl_info *gl_info)
{
/* We don't expect to create texture views for textures with height-scaled formats.
* Besides, ARB_texture_storage doesn't allow to specify exact sizes for all levels. */
* Besides, ARB_texture_storage doesn't allow specifying exact sizes for all levels. */
return gl_info->supported[ARB_TEXTURE_STORAGE]
&& !(texture->resource.format_flags & WINED3DFMT_FLAG_HEIGHT_SCALE);
}
......
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