How to Fix Out of video memory trying to allocate a texture