[poppler] poppler/splash: Splash.cc,1.7,1.8

Albert Astals Cid aacid at kemper.freedesktop.org
Wed May 31 13:14:06 PDT 2006


Update of /cvs/poppler/poppler/splash
In directory kemper:/tmp/cvs-serv6676/splash

Modified Files:
	Splash.cc 
Log Message:
	* poppler/SplashOutputDev.cc:
        * splash/Splash.cc: Fix no splashModeRGB8Qt mode, that is, make it
        show images

I'm sorry, really, i'll try to do better



Index: Splash.cc
===================================================================
RCS file: /cvs/poppler/poppler/splash/Splash.cc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Splash.cc	23 May 2006 20:49:16 -0000	1.7
+++ Splash.cc	31 May 2006 20:14:04 -0000	1.8
@@ -3115,6 +3115,7 @@
 #endif
 	    case splashModeRGB8:
 	    case splashModeBGR8:
+	    case splashModeRGB8Qt:
 	      pix[2] = (int)((SplashCoord)pixAcc2 * pixMul);
 	      pix[1] = (int)((SplashCoord)pixAcc1 * pixMul);
 	      // fall through
@@ -3249,6 +3250,7 @@
 	  break;
 	case splashModeRGB8:
 	case splashModeBGR8:
+	case splashModeRGB8Qt:
 	  p = pixBuf + xSrc * 3;
 	  pixAcc0 = pixAcc1 = pixAcc2 = 0;
 	  for (i = 0; i < n; ++i) {
@@ -3294,6 +3296,7 @@
 	    // fall through
 #endif
 	  case splashModeRGB8:
+	  case splashModeRGB8Qt:
 	  case splashModeBGR8:
 	    pix[2] = (int)((SplashCoord)pixAcc2 * pixMul);
 	    pix[1] = (int)((SplashCoord)pixAcc1 * pixMul);



More information about the poppler mailing list