Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
3e29f952
Commit
3e29f952
authored
May 22, 2016
by
Henri Verbeet
Committed by
Alexandre Julliard
May 23, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: NP2 emulation is not allowed on array textures.
Signed-off-by:
Henri Verbeet
<
hverbeet@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aa666adf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
surface.c
dlls/wined3d/surface.c
+2
-6
No files found.
dlls/wined3d/surface.c
View file @
3e29f952
...
...
@@ -784,13 +784,9 @@ static void surface_download_data(struct wined3d_surface *surface, const struct
if
(
surface
->
texture_target
==
GL_TEXTURE_2D_ARRAY
)
{
/*
We don't expect to ever need to emulate NP2 textures when we have EXT_texture_array
. */
/*
NP2 emulation is not allowed on array textures
. */
if
(
texture
->
flags
&
WINED3D_TEXTURE_COND_NP2_EMULATED
)
{
FIXME
(
"Cannot download surface %p, level %u, layer %u.
\n
"
,
surface
,
surface
->
texture_level
,
surface
->
texture_layer
);
return
;
}
ERR
(
"Array texture %p uses NP2 emulation.
\n
"
,
texture
);
WARN_
(
d3d_perf
)(
"Downloading all miplevel layers to get the surface data for a single sub-resource.
\n
"
);
...
...
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