Merge "Don't try to capture the pointer when using PBOs for texture APIs" into lmp-dev