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
63f2b651
Commit
63f2b651
authored
Jul 14, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Jul 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Clarify WINED3DUSAGE_WRITEONLY a bit.
parent
1360af6a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
resource.c
dlls/wined3d/resource.c
+6
-0
No files found.
dlls/wined3d/resource.c
View file @
63f2b651
...
...
@@ -59,6 +59,12 @@ static void resource_check_usage(DWORD usage)
|
WINED3DUSAGE_OVERLAY
|
WINED3DUSAGE_TEXTURE
;
/* WINED3DUSAGE_WRITEONLY is supposed to result in write-combined mappings
* being returned. OpenGL doesn't give us explicit control over that, but
* the hints and access flags we set for typical access patterns on
* dynamic resources should in theory have the same effect on the OpenGL
* driver. */
if
(
usage
&
~
handled
)
FIXME
(
"Unhandled usage flags %#x.
\n
"
,
usage
&
~
handled
);
if
((
usage
&
(
WINED3DUSAGE_DYNAMIC
|
WINED3DUSAGE_WRITEONLY
))
==
WINED3DUSAGE_DYNAMIC
)
...
...
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