I'd suggest associating the "struct file_struct *" with the GL context, and nothing else.


At that point you would always get the right answer by just knowing that when the release() happens, the GL context is gone.

This is probably the only sensible solution, I think.


Keith





-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to