Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ba350926
Commit
ba350926
authored
May 29, 2016
by
Francois Gouget
Committed by
Alexandre Julliard
May 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Spelling fixes.
Signed-off-by:
Francois Gouget
<
fgouget@free.fr
>
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
abd26b9d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/wined3d/device.c
+3
-3
texture.c
dlls/wined3d/texture.c
+1
-1
No files found.
dlls/wined3d/device.c
View file @
ba350926
...
...
@@ -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.
*/
...
...
dlls/wined3d/texture.c
View file @
ba350926
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment