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
8985b7a7
Commit
8985b7a7
authored
Oct 08, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 09, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of some redundant assignments (LLVM/Clang).
parent
937ceda4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
device.c
dlls/wined3d/device.c
+1
-3
No files found.
dlls/wined3d/device.c
View file @
8985b7a7
...
...
@@ -821,8 +821,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateTexture(IWineD3DDevice *iface, U
object
->
baseTexture
.
pow2Matrix
[
15
]
=
1
.
0
;
object
->
target
=
GL_TEXTURE_2D
;
object
->
cond_np2
=
TRUE
;
pow2Width
=
Width
;
pow2Height
=
Height
;
object
->
baseTexture
.
minMipLookup
=
&
minMipLookup_noFilter
;
}
else
if
(
GL_SUPPORT
(
ARB_TEXTURE_RECTANGLE
)
&&
(
Width
!=
pow2Width
||
Height
!=
pow2Height
)
&&
...
...
@@ -1058,7 +1056,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateCubeTexture(IWineD3DDevice *iface
unsigned
int
i
,
j
;
UINT
tmpW
;
HRESULT
hr
;
unsigned
int
pow2EdgeLength
=
EdgeLength
;
unsigned
int
pow2EdgeLength
;
const
GlPixelFormatDesc
*
glDesc
;
getFormatDescEntry
(
Format
,
&
GLINFO_LOCATION
,
&
glDesc
);
...
...
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