http://bugs.freedesktop.org/show_bug.cgi?id=10608

           Summary: Read incorrect GL_DEPTH_COMPONENT value after call
                    glCopyPixels with zoom
           Product: Mesa
           Version: CVS
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If drwa pixels with format GL_DEPTH_COMPONENT, change the zoom factor by
calling      glPixelZoom(1.0, -1.0); then copy the pixels to another position
with type GL_DEPTH. The pixels' depth value in new copy place should be the
same with the origin pixels, but it is incorrect.

Root cause:
These code in swrast/s_copypix.c:copy_depth_pixels() Line #537 is incorrect, it
should call _swrast_write_zoomed_depth_span instead of
_swrast_write_zoomed_rgba_span.


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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to