12d2cdcdb0
* changes: make sure conditions will return when the status of a surface is not NO_ERROR
* changes: make sure conditions will return when the status of a surface is not NO_ERROR