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:
Simon Hausmann 2025-07-11 09:21:02 +02:00 committed by Simon Hausmann
parent a9a4dfa4eb
commit 5c3a98d0c9
3 changed files with 3 additions and 3 deletions

View file

@ -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");
}