[Kalzium] Fwd: OpenGL availability

Carsten Niehaus cniehaus at gmx.de
Mon Jun 12 16:00:50 CEST 2006


Am Montag 12 Juni 2006 15:39 schrieb Benoit Jacob:
> > I suggest using #ifndef in the cpp-files and disable certain
> > dialogs/features. This would mean w/o you wouldn't have the crystalview
> > and the
> > moleculeview-thing.
>
> Yes, it's a good idea to give the ability to #if-out the OpenGL-related
> stuff. But in case Kalzium has been compiled with GL support, we still
> need to check for GL availability at runtime.

Perhaps I am a bit slow but why?

If a distributor enables opengl on compiletime he has to provide it as runtime 
as well, otherwise the package would be broken.

Or am I missing the obvious?

-- 
Gruß,
  Carsten Niehaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kalzium/attachments/20060612/25d515bc/attachment.pgp 


More information about the Kalzium mailing list