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
c2d53af3
Commit
c2d53af3
authored
Mar 26, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Don't use uninitialized variables (Coverity).
parent
57133116
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
opengl.c
dlls/winex11.drv/opengl.c
+2
-3
No files found.
dlls/winex11.drv/opengl.c
View file @
c2d53af3
...
...
@@ -1349,8 +1349,7 @@ void sync_gl_drawable( HWND hwnd, const RECT *visible_rect, const RECT *client_r
if
(
changes
.
width
!=
gl
->
rect
.
right
-
gl
->
rect
.
left
)
mask
|=
CWWidth
;
if
(
changes
.
height
!=
gl
->
rect
.
bottom
-
gl
->
rect
.
top
)
mask
|=
CWHeight
;
TRACE
(
"setting drawable %lx pos %d,%d,%dx%d
\n
"
,
gl
->
drawable
,
changes
.
x
,
changes
.
y
,
changes
.
width
,
changes
.
height
);
TRACE
(
"setting drawable %lx size %dx%d
\n
"
,
gl
->
drawable
,
changes
.
width
,
changes
.
height
);
switch
(
gl
->
type
)
{
...
...
@@ -1380,7 +1379,7 @@ void sync_gl_drawable( HWND hwnd, const RECT *visible_rect, const RECT *client_r
default:
break
;
}
SetRect
(
&
gl
->
rect
,
changes
.
x
,
changes
.
y
,
changes
.
x
+
changes
.
width
,
changes
.
y
+
changes
.
height
);
SetRect
(
&
gl
->
rect
,
0
,
0
,
changes
.
width
,
changes
.
height
);
done:
release_gl_drawable
(
gl
);
}
...
...
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