Changed fixed size pbuffer resize for largest pbuffer needed. 

Not checking if this size exceeds GLX_MAX_PBUFFER_SIZE.
Fix needed for BRIDGE usage.