mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
C++: disable renderer-femto-wgpu feature by default
Just like with Rust. This Fixes the C++ opengl_texture example. Also improve advice for C++ OpenGL examples to explicitly select the FemtoVG GL renderer Fixes #8901
This commit is contained in:
parent
a9a4dfa4eb
commit
5c3a98d0c9
3 changed files with 3 additions and 3 deletions
|
|
@ -382,7 +382,7 @@ int main()
|
|||
if (*error == slint::SetRenderingNotifierError::Unsupported) {
|
||||
fprintf(stderr,
|
||||
"This example requires the use of a GL renderer. Please run with the "
|
||||
"environment variable SLINT_BACKEND=winit set.\n");
|
||||
"environment variable SLINT_BACKEND=winit-femtovg set.\n");
|
||||
} else {
|
||||
fprintf(stderr, "Unknown error calling set_rendering_notifier\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue