OSDN Git Service

mesa: asst. clean-ups in copy_label()
authorBrian Paul <brianp@vmware.com>
Sat, 14 Sep 2013 15:52:58 +0000 (09:52 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Oct 2013 16:10:00 +0000 (10:10 -0600)
commitecd155a428ff441071ace8d789e4b89740dd1b58
tree1896f2aef6ed4782a9176a8140f386718f2d84cb
parentd2eb281fb2322fd4b73d558e07883ed2f85edf25
mesa: asst. clean-ups in copy_label()

This incorporates Vinson's change to check for a null src pointer as
detected by coverity.

Also, rename the function params to be src/dst, const-qualify src,
and use GL types to match the calling functions.  And add some more
comments.

Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/mesa/main/objectlabel.c