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
0587b0eb
Commit
0587b0eb
authored
Feb 09, 2022
by
Matteo Bruni
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d10: Use read_u32() implementation from d3dcompiler.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8c294586
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
10 deletions
+1
-10
d3d10_private.h
dlls/d3d10/d3d10_private.h
+1
-0
effect.c
dlls/d3d10/effect.c
+0
-10
No files found.
dlls/d3d10/d3d10_private.h
View file @
0587b0eb
...
...
@@ -33,6 +33,7 @@
#include "d3d10.h"
#include "d3dcompiler.h"
#include "utils.h"
/*
* This doesn't belong here, but for some functions it is possible to return that value,
...
...
dlls/d3d10/effect.c
View file @
0587b0eb
...
...
@@ -837,16 +837,6 @@ static BOOL d3d_array_reserve(void **elements, SIZE_T *capacity, SIZE_T count, S
return
TRUE
;
}
static
uint32_t
read_u32
(
const
char
**
ptr
)
{
uint32_t
u32
;
memcpy
(
&
u32
,
*
ptr
,
sizeof
(
u32
));
*
ptr
+=
sizeof
(
u32
);
return
u32
;
}
static
BOOL
require_space
(
size_t
offset
,
size_t
count
,
size_t
size
,
size_t
data_size
)
{
return
!
count
||
(
data_size
-
offset
)
/
count
>=
size
;
...
...
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