Skip to content

Instantly share code, notes, and snippets.

@tronical
Created July 10, 2023 14:40
Show Gist options
  • Save tronical/18b92f099066d0524d7e5ed5e1e62e82 to your computer and use it in GitHub Desktop.
Save tronical/18b92f099066d0524d7e5ed5e1e62e82 to your computer and use it in GitHub Desktop.
diff --git a/internal/renderers/skia/opengl_surface.rs b/internal/renderers/skia/opengl_surface.rs
index 7844e6f7c..6a708f6e8 100644
--- a/internal/renderers/skia/opengl_surface.rs
+++ b/internal/renderers/skia/opengl_surface.rs
@@ -256,6 +256,8 @@ fn init_glutin(
.ok_or("Unable to find suitable GL config")?
};
+ eprintln!("GL config samples: {}", config.num_samples());
+
let gles_context_attributes = ContextAttributesBuilder::new()
.with_context_api(ContextApi::Gles(Some(glutin::context::Version {
major: 2,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment