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
bfc0f3bd
Commit
bfc0f3bd
authored
Feb 01, 2018
by
Henri Verbeet
Committed by
Alexandre Julliard
Feb 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use more resource access flags in wined3d_texture_use_pbo().
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
74c97c9a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
texture.c
dlls/wined3d/texture.c
+2
-2
No files found.
dlls/wined3d/texture.c
View file @
bfc0f3bd
...
...
@@ -32,8 +32,8 @@ WINE_DECLARE_DEBUG_CHANNEL(winediag);
static
BOOL
wined3d_texture_use_pbo
(
const
struct
wined3d_texture
*
texture
,
const
struct
wined3d_gl_info
*
gl_info
)
{
return
texture
->
resource
.
pool
==
WINED3D_POOL_DEFAULT
&&
texture
->
resource
.
access
&
WINED3D_RESOURCE_ACCESS_MAP
return
(
texture
->
resource
.
access
&
(
WINED3D_RESOURCE_ACCESS_CPU
|
WINED3D_RESOURCE_ACCESS_MAP
))
==
WINED3D_RESOURCE_ACCESS_MAP
&&
gl_info
->
supported
[
ARB_PIXEL_BUFFER_OBJECT
]
&&
!
texture
->
resource
.
format
->
conv_byte_count
&&
!
(
texture
->
flags
&
(
WINED3D_TEXTURE_PIN_SYSMEM
|
WINED3D_TEXTURE_COND_NP2_EMULATED
));
...
...
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