OSDN Git Service

main: get rid of needless conditional
authorErik Faye-Lund <kusmabite@gmail.com>
Wed, 16 Dec 2015 16:09:50 +0000 (17:09 +0100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 12 Jan 2016 00:02:16 +0000 (11:02 +1100)
commit395b53dad69470f0f3014e96bed0e6ceef383ce8
tree4ee04e16fe7fd25dd9e902794746d9dd16537164
parent2a15dc0dd5502ae7c585cacad497f032cab8c602
main: get rid of needless conditional

We already check if the driver changed the completeness, we don't
need to duplicate that check. Let's just early out there instead.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/mesa/main/fbobject.c