Caseycub / gource

Automatically exported from code.google.com/p/gource
0 stars 0 forks source link

[PATCH] Fall back to setting video mode without multisampling on failure #106

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

gource --multi-sampling

What is the expected output? What do you see instead?

Expect running instance. Instead I see:

gource: SDL initialization failed - Couldn't find matching GLX visual

What version of the product are you using? On what operating system?
 gource-0.28-1.fc13

Please provide any additional information below.

A better alternative is to fall back to video without multi-sampling before 
finally failing if even that does not work. Attached patch does exactly that.

Original issue reported on code.google.com by siddhesh...@gmail.com on 7 Dec 2010 at 7:20

Attachments:

GoogleCodeExporter commented 8 years ago
Reported in Fedora bugzilla here:

https://bugzilla.redhat.com/show_bug.cgi?id=653631

Original comment by siddhesh...@gmail.com on 7 Dec 2010 at 7:22

GoogleCodeExporter commented 8 years ago
Thanks Siddhesh.

I have applied your patch.

Cheers

Andrew

Original comment by acaudw...@gmail.com on 8 Dec 2010 at 4:13