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
f13ef6b8
Commit
f13ef6b8
authored
Feb 22, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Force the client dimensions to at least 1x1 in sync_gl_drawable.
parent
40953c2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
window.c
dlls/winex11.drv/window.c
+3
-0
No files found.
dlls/winex11.drv/window.c
View file @
f13ef6b8
...
@@ -486,6 +486,9 @@ static void sync_gl_drawable(Display *display, struct x11drv_win_data *data)
...
@@ -486,6 +486,9 @@ static void sync_gl_drawable(Display *display, struct x11drv_win_data *data)
Drawable
glxp
;
Drawable
glxp
;
Pixmap
pix
;
Pixmap
pix
;
if
(
w
<=
0
)
w
=
1
;
if
(
h
<=
0
)
h
=
1
;
TRACE
(
"Resizing GL drawable 0x%lx to %dx%d
\n
"
,
data
->
gl_drawable
,
w
,
h
);
TRACE
(
"Resizing GL drawable 0x%lx to %dx%d
\n
"
,
data
->
gl_drawable
,
w
,
h
);
#ifdef SONAME_LIBXCOMPOSITE
#ifdef SONAME_LIBXCOMPOSITE
if
(
usexcomposite
)
if
(
usexcomposite
)
...
...
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