mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
Remove public exports of gl_common and libc
This commit is contained in:
@@ -359,7 +359,7 @@ impl GlContext for Window {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
|
||||
fn get_proc_address(&self, addr: &str) -> *const () {
|
||||
match self {
|
||||
&Window::X(ref w) => w.get_proc_address(addr),
|
||||
&Window::Wayland(ref w) => w.get_proc_address(addr)
|
||||
|
||||
@@ -7,7 +7,6 @@ use GlAttributes;
|
||||
use GlContext;
|
||||
use PixelFormat;
|
||||
use PixelFormatRequirements;
|
||||
use libc;
|
||||
|
||||
use api::osmesa::{self, OsMesaContext};
|
||||
|
||||
@@ -45,7 +44,7 @@ impl GlContext for HeadlessContext {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
|
||||
fn get_proc_address(&self, addr: &str) -> *const () {
|
||||
self.0.get_proc_address(addr)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user