SDL2: use lock/unlock texture method instead slow update method