Summary: | OSMesaMakeCurrent not properly changing contexts | ||
---|---|---|---|
Product: | Mesa | Reporter: | James Burns <James.Burns> |
Component: | Drivers/OSMesa | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | critical | ||
Priority: | high | ||
Version: | 6.5 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Snippet from context.c with fix |
Description
James Burns
2007-06-05 15:25:54 UTC
Created attachment 10210 [details]
Snippet from context.c with fix
The attached code is the check_comparison method that I modified to allow the make current method work.
I'm wondering where the 31 is coming from. Are you using an old version of Mesa? Current Mesa supports full 32-bit depth buffers. Anyway, I think it's safe to disable the test as your patch does. I'll check that in. This is coming from Mesa 6.5.3. I have patches a few things related to GLSL shaders, based on bug reports posted. I never tracked down where 31 was coming from, but it is the depth that was getting assigned to the context. (In reply to comment #2) > I'm wondering where the 31 is coming from. Are you using an old version of > Mesa? Current Mesa supports full 32-bit depth buffers. > > Anyway, I think it's safe to disable the test as your patch does. I'll check > that in. > -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/874. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.