Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101880 Details for
Bug 151306
sci-astronomy/stellarium-0.8.2 craches at startup (x86_64)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
PATCH fixing the crash due to using OpenGL without an OpenGL context
stellarium-0.8.2-opengl-without-context.patch (text/plain), 964 bytes, created by
Hans de Goede
on 2006-11-13 14:29:34 UTC
(
hide
)
Description:
PATCH fixing the crash due to using OpenGL without an OpenGL context
Filename:
MIME Type:
Creator:
Hans de Goede
Created:
2006-11-13 14:29:34 UTC
Size:
964 bytes
patch
obsolete
>--- stellarium-0.8.2/src/stel_core.cpp~ 2006-11-13 23:06:16.000000000 +0100 >+++ stellarium-0.8.2/src/stel_core.cpp 2006-11-13 23:06:16.000000000 +0100 >@@ -70,8 +70,6 @@ > dataRoot = DATA_ROOT; > recordActionCallback = recordCallback; > >- projection = Projector::create(Projector::PERSPECTIVE_PROJECTOR, Vec4i(0,0,800,600), 60); >- glFrontFace(projection->needGlFrontFaceCW()?GL_CW:GL_CCW); > > tone_converter = new ToneReproductor(); > atmosphere = new Atmosphere(); >@@ -135,6 +133,10 @@ > // Load core data and initialize with default values > void StelCore::init(const InitParser& conf) > { >+ // do NOT do this in the constructor as there is no valid GLcontext there! >+ projection = Projector::create(Projector::PERSPECTIVE_PROJECTOR, Vec4i(0,0,800,600), 60); >+ glFrontFace(projection->needGlFrontFaceCW()?GL_CW:GL_CCW); >+ > baseFontFile = getDataDir() + conf.get_str("gui", "base_font_name", "DejaVuSans.ttf"); > > // Video Section
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 151306
: 101880