mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-13 14:48:32 +09:00
[Improvement] (...): Optimize code.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace MobileGL {
|
||||
}
|
||||
}
|
||||
|
||||
bool ErrorState::HasNonGLError() const {
|
||||
Bool ErrorState::HasNonGLError() const {
|
||||
return !m_nonGLErrors.empty();
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace MobileGL {
|
||||
return Optional<const Error>{error};
|
||||
}
|
||||
|
||||
bool ErrorState::HasGLError() const {
|
||||
Bool ErrorState::HasGLError() const {
|
||||
return !m_errors.empty();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user