swrast warning fixes