dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnetlib/Xsharp XsharpSupport.c,1.16,1.17


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnetlib/Xsharp XsharpSupport.c,1.16,1.17
Date: Wed, 15 Oct 2003 01:01:41 +0000

Update of /cvsroot/dotgnu-pnet/pnetlib/Xsharp
In directory subversions:/tmp/cvs-serv27967/Xsharp

Modified Files:
        XsharpSupport.c 
Log Message:


Be a little more selective as to when the direct 24-bit blit
optimization should be used.


Index: XsharpSupport.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Xsharp/XsharpSupport.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** XsharpSupport.c     10 Oct 2003 00:07:33 -0000      1.16
--- XsharpSupport.c     15 Oct 2003 01:01:39 -0000      1.17
***************
*** 747,751 ****
  {
        if(image->depth == 24 && image->red_mask == 0x00FF0000 &&
!          image->green_mask == 0x0000FF00 && image->blue_mask == 0x000000FF)
        {
                return Write_Direct;
--- 747,752 ----
  {
        if(image->depth == 24 && image->red_mask == 0x00FF0000 &&
!          image->green_mask == 0x0000FF00 && image->blue_mask == 0x000000FF &&
!          image->byte_order == LSBFirst && image->bitmap_bit_order == LSBFirst)
        {
                return Write_Direct;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]