mesa: don't call ctx->Driver.ReadPixels() if width or height is zero
authorBrian Paul <brianp@vmware.com>
Thu, 2 Apr 2009 19:05:55 +0000 (13:05 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 2 Apr 2009 19:05:55 +0000 (13:05 -0600)
commit7b9bf395433b5fa9d5a95186891a29d49e0b47c0
treea71d3124e4e55a1ed27e53659a1e713bf820728b
parentf6a3f1f52a969c8d990a3a41e816af4864eea45c
mesa: don't call ctx->Driver.ReadPixels() if width or height is zero
src/mesa/main/readpix.c