Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Unmaintained
KDE Workspace
Commits
abea62ac
Commit
abea62ac
authored
Jan 11, 2011
by
Fredrik Höglund
Committed by
Martin Flöser
Jan 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix chipset detection with r300g
svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1213841
parent
3b8984d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
kwin/lib/kwinglplatform.cpp
kwin/lib/kwinglplatform.cpp
+2
-1
No files found.
kwin/lib/kwinglplatform.cpp
View file @
abea62ac
...
...
@@ -587,7 +587,8 @@ void GLPlatform::detect()
// Sample renderer string: Gallium 0.4 on AMD RV740
const
QList
<
QByteArray
>
tokens
=
m_renderer
.
split
(
' '
);
m_galliumVersion
=
parseVersionString
(
tokens
.
at
(
1
));
m_chipset
=
tokens
.
at
(
3
)
==
"AMD"
?
tokens
.
at
(
4
)
:
tokens
.
at
(
3
);
m_chipset
=
(
tokens
.
at
(
3
)
==
"AMD"
||
tokens
.
at
(
3
)
==
"ATI"
)
?
tokens
.
at
(
4
)
:
tokens
.
at
(
3
);
// R300G
if
(
m_vendor
==
"X.Org R300 Project"
)
{
...
...
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