mesa: reduce calls to _mesa_test_framebuffer_completeness()
authorBrian Paul <brianp@vmware.com>
Tue, 1 Mar 2011 01:24:20 +0000 (18:24 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Mar 2011 01:24:20 +0000 (18:24 -0700)
commitb0fceae22f008f3963a392ebd57d7d2a095a5e05
treea8501b6860099bccd5e792950928c23ae932dd86
parentca1b5515621d4ab9e90e27533fbc0fafa5cf641b
mesa: reduce calls to _mesa_test_framebuffer_completeness()

when doing glCopyTex[Sub]Image() and checking the source buffer's
completeness.
We only need to determine FBO completeness when the status is indeterminate.
src/mesa/main/teximage.c