deps: update glium
This commit is contained in:
5 files changed
+16
-4
No files matched your search
Generated
+3
-3
@@ -2156,15 +2156,15 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "glium"
|
||||
version = "0.31.0"
|
||||
version = "0.34.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0ab4f09b43d8ee427a700cb9ed3b20e0e858d62a509edded1a98ca5707d68e19"
|
||||
checksum = "94d5813c960a54b76e20fe4ef7e54fbeb12545776a11ecf14f42a946a1c65964"
|
||||
dependencies = [
|
||||
"backtrace",
|
||||
"fnv",
|
||||
"gl_generator",
|
||||
"lazy_static",
|
||||
"memoffset 0.6.5",
|
||||
"memoffset 0.9.0",
|
||||
"smallvec",
|
||||
"takeable-option",
|
||||
]
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ raw-window-handle = "0.5"
|
||||
resize = "0.5"
|
||||
serde = {version="1.0", features = ["rc", "derive"]}
|
||||
tiny-skia = "0.11"
|
||||
glium = { version = "0.31", default-features = false }
|
||||
glium = { version = "0.34", default-features = false }
|
||||
url = "2"
|
||||
wezterm-bidi = { path = "../bidi" }
|
||||
wezterm-color-types = { path = "../color-types" }
|
||||
|
||||
@@ -658,6 +658,10 @@ impl GlState {
|
||||
}
|
||||
|
||||
unsafe impl glium::backend::Backend for GlState {
|
||||
fn resize(&self, _: (u32, u32)) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn swap_buffers(&self) -> Result<(), glium::SwapBuffersError> {
|
||||
let res = unsafe {
|
||||
self.connection
|
||||
|
||||
@@ -313,6 +313,10 @@ mod cglbits {
|
||||
}
|
||||
|
||||
unsafe impl glium::backend::Backend for GlState {
|
||||
fn resize(&self, _: (u32, u32)) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn swap_buffers(&self) -> Result<(), glium::SwapBuffersError> {
|
||||
unsafe {
|
||||
let pool = NSAutoreleasePool::new(nil);
|
||||
|
||||
@@ -402,6 +402,10 @@ impl Drop for GlState {
|
||||
}
|
||||
|
||||
unsafe impl glium::backend::Backend for GlState {
|
||||
fn resize(&self, _: (u32, u32)) {
|
||||
todo!()
|
||||
}
|
||||
|
||||
fn swap_buffers(&self) -> Result<(), glium::SwapBuffersError> {
|
||||
unsafe {
|
||||
SwapBuffers(self.hdc);
|
||||
|
||||
Reference in new issue
Block a user