You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building an application in C++ using the GUI features. If I minimize the application, I get the following error even when I'm using a sample program. This crashes the application.
Assertion failed: (int32_t)viewport.width > 0, file D:\a\filament\filament\filament\src\View.cpp, line 106
In the filament source code I see that this is defined as the following.
voidFView::setViewport(filament::Viewport const& viewport) noexcept {
// catch the cases were user had an underflow and didn't catch it.assert((int32_t)viewport.width > 0);
assert((int32_t)viewport.height > 0);
mViewport = viewport;
}
When used with python it seems to work fine by just ignoring the assertion. My plan is to remove this assertion and build filament from source. I wanted to confirm that I am not removing some expected behavior before I proceed
The text was updated successfully, but these errors were encountered:
Checklist
main
branch).My Question
Windows 11
X64
I am building an application in C++ using the GUI features. If I minimize the application, I get the following error even when I'm using a sample program. This crashes the application.
Assertion failed: (int32_t)viewport.width > 0, file D:\a\filament\filament\filament\src\View.cpp, line 106
In the filament source code I see that this is defined as the following.
When used with python it seems to work fine by just ignoring the assertion. My plan is to remove this assertion and build filament from source. I wanted to confirm that I am not removing some expected behavior before I proceed
The text was updated successfully, but these errors were encountered: