added check if rendering to target texture is supported for SDL2