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
8b709879
Commit
8b709879
authored
Dec 16, 2005
by
Huw Davies
Committed by
Alexandre Julliard
Dec 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x11drv: Get the visual for the GLXPixmap from the current pixel format.
parent
ae964ac8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
opengl.c
dlls/x11drv/opengl.c
+5
-1
No files found.
dlls/x11drv/opengl.c
View file @
8b709879
...
...
@@ -588,13 +588,17 @@ XID create_glxpixmap(X11DRV_PDEVICE *physDev)
XVisualInfo
*
vis
;
XVisualInfo
template
;
int
num
;
GLXFBConfig
*
cfgs
;
wine_tsx11_lock
();
template
.
visualid
=
XVisualIDFromVisual
(
visual
);
cfgs
=
pglXGetFBConfigs
(
gdi_display
,
DefaultScreen
(
gdi_display
),
&
num
);
pglXGetFBConfigAttrib
(
gdi_display
,
cfgs
[
physDev
->
current_pf
-
1
],
GLX_VISUAL_ID
,
(
int
*
)
&
template
.
visualid
);
vis
=
XGetVisualInfo
(
gdi_display
,
VisualIDMask
,
&
template
,
&
num
);
ret
=
pglXCreateGLXPixmap
(
gdi_display
,
vis
,
physDev
->
bitmap
->
pixmap
);
XFree
(
vis
);
XFree
(
cfgs
);
wine_tsx11_unlock
();
TRACE
(
"return %lx
\n
"
,
ret
);
return
ret
;
...
...
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