resolution size testing, replace texture with the appropriate one