[core] Updated Size::isEmpty and TransformState::valid checks
This commit is contained in:
@@ -12,7 +12,7 @@ namespace mbgl {
|
||||
class OffscreenView::Impl {
|
||||
public:
|
||||
Impl(gl::Context& context_, const Size size_) : context(context_), size(std::move(size_)) {
|
||||
assert(size);
|
||||
assert(!size.isEmpty());
|
||||
}
|
||||
|
||||
void bind() {
|
||||
|
||||
Reference in New Issue
Block a user