[Mesa-dev] [Bug 43949] New: OSMesa does not work with 565 pixel format

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Dec 19 05:22:13 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=43949

             Bug #: 43949
           Summary: OSMesa does not work with 565 pixel format
    Classification: Unclassified
           Product: Mesa
           Version: 7.11
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: agalakhov at gmail.com


Created attachment 54568
  --> https://bugs.freedesktop.org/attachment.cgi?id=54568
Fix for 565 pixel format

The following code did not work due to forgotten case statement:

ctx = OSMesaCreateContext(OSMESA_RGB_565, NULL);
OSMesaMakeCurrent(ctx, fb, GL_UNSIGNED_SHORT_5_6_5, 800, 480);

The attached patch fixes the problem.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list