We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9704865 + fc5cf8c commit 41fb6bfCopy full SHA for 41fb6bf
src/platform/mod.rs
@@ -1,7 +1,7 @@
1
#[cfg(feature="texture_surface")]
2
use layers::platform::surface::NativeDisplay;
3
4
-pub trait NativeGLContextMethods {
+pub trait NativeGLContextMethods: Sized {
5
fn get_proc_address(&str) -> *const ();
6
7
fn create_headless() -> Result<Self, &'static str>;
0 commit comments