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
ee0ac366
Commit
ee0ac366
authored
Aug 26, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Initialize the map binding in resource_init.
parent
b52214a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
2 deletions
+1
-2
resource.c
dlls/wined3d/resource.c
+1
-0
surface.c
dlls/wined3d/surface.c
+0
-1
volume.c
dlls/wined3d/volume.c
+0
-1
No files found.
dlls/wined3d/resource.c
View file @
ee0ac366
...
...
@@ -110,6 +110,7 @@ HRESULT resource_init(struct wined3d_resource *resource, struct wined3d_device *
resource
->
parent
=
parent
;
resource
->
parent_ops
=
parent_ops
;
resource
->
resource_ops
=
resource_ops
;
resource
->
map_binding
=
WINED3D_LOCATION_SYSMEM
;
if
(
size
)
{
...
...
dlls/wined3d/surface.c
View file @
ee0ac366
...
...
@@ -6006,7 +6006,6 @@ static HRESULT surface_init(struct wined3d_surface *surface, struct wined3d_text
if
(
lockable
||
desc
->
format
==
WINED3DFMT_D16_LOCKABLE
)
surface
->
resource
.
access_flags
|=
WINED3D_RESOURCE_ACCESS_CPU
;
surface
->
resource
.
map_binding
=
WINED3D_LOCATION_SYSMEM
;
surface
->
texture_target
=
target
;
surface
->
texture_level
=
level
;
surface
->
texture_layer
=
layer
;
...
...
dlls/wined3d/volume.c
View file @
ee0ac366
...
...
@@ -824,7 +824,6 @@ static HRESULT volume_init(struct wined3d_volume *volume, struct wined3d_texture
volume
->
texture_level
=
level
;
volume
->
locations
=
WINED3D_LOCATION_DISCARDED
;
volume
->
resource
.
map_binding
=
WINED3D_LOCATION_SYSMEM
;
if
(
desc
->
pool
==
WINED3D_POOL_DEFAULT
&&
desc
->
usage
&
WINED3DUSAGE_DYNAMIC
&&
gl_info
->
supported
[
ARB_PIXEL_BUFFER_OBJECT
]
...
...
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