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
7d61c7b1
Commit
7d61c7b1
authored
Mar 31, 2013
by
Alexander Monakov
Committed by
Alexandre Julliard
Apr 01, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Simplify test for pbuffer availability.
parent
611cf6bb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
opengl.c
dlls/winex11.drv/opengl.c
+2
-5
No files found.
dlls/winex11.drv/opengl.c
View file @
7d61c7b1
...
...
@@ -3005,10 +3005,7 @@ static void X11DRV_WineGL_LoadExtensions(void)
if
(
has_extension
(
WineGLInfo
.
glxExtensions
,
"GLX_ARB_multisample"
))
register_extension
(
"WGL_ARB_multisample"
);
/* In general pbuffer functionality requires support in the X-server. The functionality is
* available either when the GLX_SGIX_pbuffer is present or when the GLX server version is 1.3.
*/
if
(
glxRequireVersion
(
3
)
&&
has_extension
(
WineGLInfo
.
glxExtensions
,
"GLX_SGIX_pbuffer"
)
)
if
(
glxRequireVersion
(
3
))
{
register_extension
(
"WGL_ARB_pbuffer"
);
opengl_funcs
.
ext
.
p_wglCreatePbufferARB
=
X11DRV_wglCreatePbufferARB
;
...
...
@@ -3026,7 +3023,7 @@ static void X11DRV_WineGL_LoadExtensions(void)
/* Support WGL_ARB_render_texture when there's support or pbuffer based emulation */
if
(
has_extension
(
WineGLInfo
.
glxExtensions
,
"GLX_ARB_render_texture"
)
||
(
glxRequireVersion
(
3
)
&&
has_extension
(
WineGLInfo
.
glxExtensions
,
"GLX_SGIX_pbuffer"
)
&&
use_render_texture_emulation
))
(
glxRequireVersion
(
3
)
&&
use_render_texture_emulation
))
{
register_extension
(
"WGL_ARB_render_texture"
);
opengl_funcs
.
ext
.
p_wglBindTexImageARB
=
X11DRV_wglBindTexImageARB
;
...
...
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