removed special code for preventing 'texture not complete' warning as this breaks rendering on certain platforms (at least some OSX)