mesa/main: fix incorrect depth-error