[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: [Panel-devel] Plasma + 3d Globe == crash
From:       "Chris Howells" <chris+panel-devel () chrishowells ! co ! uk>
Date:       2007-10-28 17:56:31
Message-ID: 51955.87.194.8.32.1193594192.squirrel () webmail ! devrandom ! org ! uk
[Download RAW message or body]

> On Sunday 28 October 2007, Chris Howells wrote:

> ok, so while this shouldn't be happening (it should be built if openGL
> support
> isn't found?) there should probably be a line right after the
> glversionstring
> one like:
>
> if (glGetError() != GL_NO_ERROR || glversionstring.isEmpty()) {
>     setFailedToLaunch(true);
>     return;
> }

Thanks, I will add that and check it stops the cras crash - crashing the
entirety of plasma is always bad :)

> however, it's odd that the error is GL_NO_ERROR (which is always 0) and
> yet
> this happens =)

Googlign suggets (and Matias seems to confirm :) that this is due to a
lack of OpenGL context, but I don't really know how to fix this (damn
being taugh OpenGL at uni by a lecturer who didn't have a clue about it
either!). Maybe Plasma::GLApplet should create a context by default, or
provide a way of querying GL version/capabilities?

Thanks.

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic