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
b72b0371
Commit
b72b0371
authored
Dec 03, 2010
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 03, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Properly initialize min_rel_offset.
This somehow got lost in
14da44aa
.
parent
7f5583ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
shader.c
dlls/wined3d/shader.c
+1
-0
No files found.
dlls/wined3d/shader.c
View file @
b72b0371
...
@@ -459,6 +459,7 @@ static HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct
...
@@ -459,6 +459,7 @@ static HRESULT shader_get_registers_used(IWineD3DBaseShader *iface, const struct
const
DWORD
*
ptr
=
byte_code
;
const
DWORD
*
ptr
=
byte_code
;
memset
(
reg_maps
,
0
,
sizeof
(
*
reg_maps
));
memset
(
reg_maps
,
0
,
sizeof
(
*
reg_maps
));
reg_maps
->
min_rel_offset
=
~
0U
;
/* get_registers_used() is called on every compile on some 1.x shaders,
/* get_registers_used() is called on every compile on some 1.x shaders,
* which can result in stacking up a collection of local constants.
* which can result in stacking up a collection of local constants.
...
...
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