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
bcb651ca
Commit
bcb651ca
authored
Aug 22, 2013
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove WINED3D_RESOURCE_ACCESS_SCRATCH.
parent
07079d11
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
resource.c
dlls/wined3d/resource.c
+1
-3
wined3d_private.h
dlls/wined3d/wined3d_private.h
+0
-3
No files found.
dlls/wined3d/resource.c
View file @
bcb651ca
...
...
@@ -53,12 +53,10 @@ static DWORD resource_access_from_pool(enum wined3d_pool pool)
case
WINED3D_POOL_MANAGED
:
return
WINED3D_RESOURCE_ACCESS_GPU
|
WINED3D_RESOURCE_ACCESS_CPU
;
case
WINED3D_POOL_SCRATCH
:
case
WINED3D_POOL_SYSTEM_MEM
:
return
WINED3D_RESOURCE_ACCESS_CPU
;
case
WINED3D_POOL_SCRATCH
:
return
WINED3D_RESOURCE_ACCESS_SCRATCH
;
default:
FIXME
(
"Unhandled pool %#x.
\n
"
,
pool
);
return
0
;
...
...
dlls/wined3d/wined3d_private.h
View file @
bcb651ca
...
...
@@ -1917,9 +1917,6 @@ static inline void invalidate_active_texture(const struct wined3d_device *device
#define WINED3D_RESOURCE_ACCESS_GPU 0x1
#define WINED3D_RESOURCE_ACCESS_CPU 0x2
/* SCRATCH is mostly the same as CPU, but can't be used by the GPU at all,
* not even for resource uploads. */
#define WINED3D_RESOURCE_ACCESS_SCRATCH 0x4
struct
wined3d_resource_ops
{
...
...
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