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
9796aade
Commit
9796aade
authored
Sep 15, 2006
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Sep 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Fix fbconfig regression.
parent
15b46847
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
opengl.c
dlls/winex11.drv/opengl.c
+5
-5
No files found.
dlls/winex11.drv/opengl.c
View file @
9796aade
...
@@ -410,17 +410,17 @@ LOAD_FUNCPTR(glGetString)
...
@@ -410,17 +410,17 @@ LOAD_FUNCPTR(glGetString)
if
((
!
WineGLInfo
.
glxDirect
&&
!
strcmp
(
"1.2"
,
WineGLInfo
.
glxServerVersion
))
||
if
((
!
WineGLInfo
.
glxDirect
&&
!
strcmp
(
"1.2"
,
WineGLInfo
.
glxServerVersion
))
||
(
WineGLInfo
.
glxDirect
&&
!
strcmp
(
"1.2"
,
WineGLInfo
.
glxClientVersion
)))
(
WineGLInfo
.
glxDirect
&&
!
strcmp
(
"1.2"
,
WineGLInfo
.
glxClientVersion
)))
{
{
pglXChooseFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXChooseFBConfig"
);
pglXGetFBConfigAttrib
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetFBConfigAttrib"
);
pglXGetVisualFromFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetVisualFromFBConfig"
);
}
else
{
if
(
NULL
!=
strstr
(
glx_extensions
,
"GLX_SGIX_fbconfig"
))
{
if
(
NULL
!=
strstr
(
glx_extensions
,
"GLX_SGIX_fbconfig"
))
{
pglXChooseFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXChooseFBConfigSGIX"
);
pglXChooseFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXChooseFBConfigSGIX"
);
pglXGetFBConfigAttrib
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetFBConfigAttribSGIX"
);
pglXGetFBConfigAttrib
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetFBConfigAttribSGIX"
);
pglXGetVisualFromFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetVisualFromFBConfigSGIX"
);
pglXGetVisualFromFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetVisualFromFBConfigSGIX"
);
}
else
{
}
else
{
ERR
(
" glx_version
a
s %s and GLX_SGIX_fbconfig extension is unsupported. Expect problems.
\n
"
,
WineGLInfo
.
glxClientVersion
);
ERR
(
" glx_version
i
s %s and GLX_SGIX_fbconfig extension is unsupported. Expect problems.
\n
"
,
WineGLInfo
.
glxClientVersion
);
}
}
}
else
{
pglXChooseFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXChooseFBConfig"
);
pglXGetFBConfigAttrib
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetFBConfigAttrib"
);
pglXGetVisualFromFBConfig
=
(
void
*
)
pglXGetProcAddressARB
((
const
GLubyte
*
)
"glXGetVisualFromFBConfig"
);
}
}
/* The mesa libGL client library seems to forward glXQueryDrawable to the Xserver, so only
/* The mesa libGL client library seems to forward glXQueryDrawable to the Xserver, so only
...
...
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