[Mesa-dev] glxInitialize cleanups

Emil Velikov emil.l.velikov at gmail.com
Sun Mar 16 07:10:15 PDT 2014


Hello list,

A couple of patches - first one cleans the glXInitialize error path
as currently we can call unlock_mutex on an already unlocked mutex.

The second patch cleans up glXInitialize handling by always checking
its return value, and drops a few cases where it's not needed.

IMHO the checks can be replaced with asserts, although I've not checked
all the possible call paths so I cannot say for sure.

Please take a look and give me a shout if it makes sense.

Cheers
-Emil 



More information about the mesa-dev mailing list