Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=9046          
     
           Summary: Calling _mesa_compressed_image_address with invalid
                    parameter in texcompress_fxt1.c triggers a Mesa internal
                    error
           Product: Mesa
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: [EMAIL PROTECTED]


In functions texstore_rgba_fxt1 and texstore_rgb_fxt1(texcompress_fxt1.c), 
calling 
_mesa_compressed_image_address with mesaFormat set to
GL_COMPRESSED_RGB_FXT1_3DFX or GL_COMPRESSED_RGBA_FXT1_3DFX. From the context,
it is a mistake. Here it should pass a Mesa internal format, or it will trigger
a mesa error.

    107    dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0,
    108                                         GL_COMPRESSED_RGB_FXT1_3DFX,
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    109                                         texWidth, (GLubyte *) dstAddr); 
         
     
     
--           
Configure bugmail: https://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
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to