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
86a9b760
Commit
86a9b760
authored
Sep 26, 2007
by
Chris Robinson
Committed by
Alexandre Julliard
Oct 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Pass a display parameter when destroying glxpixmaps.
parent
00633e37
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
bitmap.c
dlls/winex11.drv/bitmap.c
+2
-1
opengl.c
dlls/winex11.drv/opengl.c
+3
-3
x11drv.h
dlls/winex11.drv/x11drv.h
+1
-1
No files found.
dlls/winex11.drv/bitmap.c
View file @
86a9b760
...
...
@@ -431,7 +431,8 @@ BOOL X11DRV_DeleteBitmap( HBITMAP hbitmap )
if
(
GetObjectW
(
hbitmap
,
sizeof
(
dib
),
&
dib
)
==
sizeof
(
dib
))
X11DRV_DIB_DeleteDIBSection
(
physBitmap
,
&
dib
);
if
(
physBitmap
->
glxpixmap
)
destroy_glxpixmap
(
physBitmap
->
glxpixmap
);
if
(
physBitmap
->
glxpixmap
)
destroy_glxpixmap
(
gdi_display
,
physBitmap
->
glxpixmap
);
wine_tsx11_lock
();
if
(
physBitmap
->
pixmap
)
XFreePixmap
(
gdi_display
,
physBitmap
->
pixmap
);
XDeleteContext
(
gdi_display
,
(
XID
)
hbitmap
,
bitmap_context
);
...
...
dlls/winex11.drv/opengl.c
View file @
86a9b760
...
...
@@ -3187,10 +3187,10 @@ Drawable get_glxdrawable(X11DRV_PDEVICE *physDev)
return
ret
;
}
BOOL
destroy_glxpixmap
(
XID
glxpixmap
)
BOOL
destroy_glxpixmap
(
Display
*
display
,
XID
glxpixmap
)
{
wine_tsx11_lock
();
pglXDestroyGLXPixmap
(
gdi_
display
,
glxpixmap
);
pglXDestroyGLXPixmap
(
display
,
glxpixmap
);
wine_tsx11_unlock
();
return
TRUE
;
}
...
...
@@ -3436,7 +3436,7 @@ Drawable get_glxdrawable(X11DRV_PDEVICE *physDev)
return
0
;
}
BOOL
destroy_glxpixmap
(
XID
glxpixmap
)
BOOL
destroy_glxpixmap
(
Display
*
display
,
XID
glxpixmap
)
{
return
FALSE
;
}
...
...
dlls/winex11.drv/x11drv.h
View file @
86a9b760
...
...
@@ -273,7 +273,7 @@ extern void X11DRV_XRender_UpdateDrawable(X11DRV_PDEVICE *physDev);
extern
XVisualInfo
*
X11DRV_setup_opengl_visual
(
Display
*
display
);
extern
Drawable
get_glxdrawable
(
X11DRV_PDEVICE
*
physDev
);
extern
BOOL
destroy_glxpixmap
(
XID
glxpixmap
);
extern
BOOL
destroy_glxpixmap
(
Display
*
display
,
XID
glxpixmap
);
/* XIM support */
extern
XIC
X11DRV_CreateIC
(
XIM
xim
,
Display
*
display
,
Window
win
);
...
...
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