~compiz-team/compiz/0.9.8

Viewing all changes in revision 3388.

  • Committer: Tarmac
  • Author(s): Daniel van Vugt
  • Date: 2012-09-25 08:11:48 UTC
  • mfrom: (3385.2.1 destroy)
  • Revision ID: tarmac-20120925081148-4wpn5snnh0s24pnm
Avoid passing an uninitialized context into glXDestroyContext, which can
cause crashes. (LP: #1054724)

For fglrx users, this seems to happen after:
  glXQueryExtensionsString is NULL for screen %d (LP: #1054257)
But still, we shouldn't crash.. Fixes: https://bugs.launchpad.net/bugs/1054724. Approved by Sam Spilsbury, jenkins.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: