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
547c292a
Commit
547c292a
authored
Jun 11, 2022
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 15, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx10: Exit early on volume textures in D3DX10CreateTextureFromMemory.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
parent
802cbe14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
texture.c
dlls/d3dx10_43/texture.c
+7
-0
No files found.
dlls/d3dx10_43/texture.c
View file @
547c292a
...
...
@@ -714,6 +714,13 @@ HRESULT WINAPI D3DX10CreateTextureFromMemory(ID3D10Device *device, const void *s
*
hresult
=
E_FAIL
;
return
E_FAIL
;
}
if
(
img_info
.
ArraySize
!=
1
)
{
FIXME
(
"img_info.ArraySize = %u not supported.
\n
"
,
img_info
.
ArraySize
);
if
(
hresult
)
*
hresult
=
E_NOTIMPL
;
return
E_NOTIMPL
;
}
if
(
FAILED
(
hr
=
WICCreateImagingFactory_Proxy
(
WINCODEC_SDK_VERSION
,
&
factory
)))
goto
end
;
...
...
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