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
44e69805
Commit
44e69805
authored
Jun 25, 2013
by
Austin English
Committed by
Alexandre Julliard
Jun 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Print the architecture when showing driver problems.
parent
eb69999a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
opengl.c
dlls/winex11.drv/opengl.c
+10
-5
No files found.
dlls/winex11.drv/opengl.c
View file @
44e69805
...
...
@@ -282,6 +282,8 @@ static CRITICAL_SECTION_DEBUG critsect_debug =
};
static
CRITICAL_SECTION
context_section
=
{
&
critsect_debug
,
-
1
,
0
,
0
,
0
,
0
};
static
const
BOOL
is_win64
=
sizeof
(
void
*
)
>
sizeof
(
int
);
static
struct
opengl_funcs
opengl_funcs
;
#define USE_GL_FUNC(name) #name,
...
...
@@ -464,7 +466,8 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
if
(
pglXMakeCurrent
(
gdi_display
,
win
,
ctx
)
==
0
)
{
ERR_
(
winediag
)(
"Unable to activate OpenGL context, most likely your OpenGL drivers haven't been installed correctly
\n
"
);
ERR_
(
winediag
)(
"Unable to activate OpenGL context, most likely your %s OpenGL drivers haven't been "
"installed correctly
\n
"
,
is_win64
?
"64-bit"
:
"32-bit"
);
goto
done
;
}
gl_renderer
=
(
const
char
*
)
opengl_funcs
.
gl
.
p_glGetString
(
GL_RENDERER
);
...
...
@@ -506,9 +509,10 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
* Detect a local X11 server by checking whether the X11 socket is a Unix socket.
*/
if
(
!
getsockname
(
fd
,
(
struct
sockaddr
*
)
&
uaddr
,
&
uaddrlen
)
&&
uaddr
.
sun_family
==
AF_UNIX
)
ERR_
(
winediag
)(
"Direct rendering is disabled, most likely your OpenGL drivers "
ERR_
(
winediag
)(
"Direct rendering is disabled, most likely your
%s
OpenGL drivers "
"haven't been installed correctly (using GL renderer %s, version %s).
\n
"
,
debugstr_a
(
gl_renderer
),
debugstr_a
(
WineGLInfo
.
glVersion
));
is_win64
?
"64-bit"
:
"32-bit"
,
debugstr_a
(
gl_renderer
),
debugstr_a
(
WineGLInfo
.
glVersion
));
}
else
{
...
...
@@ -522,9 +526,10 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void)
* it shows 'Mesa X11'.
*/
if
(
!
strcmp
(
gl_renderer
,
"Software Rasterizer"
)
||
!
strcmp
(
gl_renderer
,
"Mesa X11"
))
ERR_
(
winediag
)(
"The Mesa OpenGL driver is using software rendering, most likely your OpenGL "
ERR_
(
winediag
)(
"The Mesa OpenGL driver is using software rendering, most likely your
%s
OpenGL "
"drivers haven't been installed correctly (using GL renderer %s, version %s).
\n
"
,
debugstr_a
(
gl_renderer
),
debugstr_a
(
WineGLInfo
.
glVersion
));
is_win64
?
"64-bit"
:
"32-bit"
,
debugstr_a
(
gl_renderer
),
debugstr_a
(
WineGLInfo
.
glVersion
));
}
ret
=
TRUE
;
...
...
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