more transparency stack tweaking
[swftools.git] / lib / pdf / GFXOutputDev.cc
index 84a4635..af891cb 100644 (file)
@@ -2696,9 +2696,6 @@ void GFXOutputDev::endTransparencyGroup(GfxState *state)
 
     dbg("endTransparencyGroup this->device now back to %08x (destroying %08x)", states[statepos].olddevice, this->device);
     
-    while(statepos && !states[statepos].olddevice)
-       --statepos;
-   
     this->device = states[statepos].olddevice;
     if(!this->device) {
        msg("<error> Invalid state nesting");