We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0311b8f commit 711fd46Copy full SHA for 711fd46
src/platform/egl/context.rs
@@ -121,7 +121,11 @@ impl Device {
121
Ok(())
122
})?;
123
124
- println!("{:?}", context::get_proc_address("glGetString"));
+ println!(
125
+ "glGetString: {:?}",
126
+ context::get_proc_address("glGetString")
127
+ );
128
+ println!("glGetError: {:?}", context::get_proc_address("glGetError"));
129
let glGetError: extern "C" fn() -> u32 =
130
unsafe { std::mem::transmute(context::get_proc_address("glGetError")) };
131
let glGetString: extern "C" fn(u32) -> *const u8 =
0 commit comments