Skip to content

Commit 50dcdbb

Browse files
committed
Update Khronos EGL bindings
Newer bindings contain newer extensions that will be used by at least the `glutin` crate.
1 parent cd18716 commit 50dcdbb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

gl_generator/registry/parse.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,7 @@ pub fn to_rust_ty<T: AsRef<str>>(ty: T) -> Cow<'static, str> {
10241024
//"Bool" => "types::Bool",
10251025
"EGLBoolean" => "types::EGLBoolean",
10261026
"EGLenum" => "types::EGLenum",
1027+
"EGLenum *" => "*mut types::EGLenum",
10271028
"EGLAttribKHR" => "types::EGLAttribKHR",
10281029
"EGLAttrib" => "types::EGLAttrib",
10291030
"EGLAttrib *" => "*mut types::EGLAttrib",
@@ -1041,6 +1042,7 @@ pub fn to_rust_ty<T: AsRef<str>>(ty: T) -> Cow<'static, str> {
10411042
},
10421043
"EGLImageKHR" => "types::EGLImageKHR",
10431044
"EGLImage" => "types::EGLImage",
1045+
"EGLImage *" => "*mut types::EGLImage",
10441046
"EGLOutputLayerEXT" => "types::EGLOutputLayerEXT",
10451047
"EGLOutputPortEXT" => "types::EGLOutputPortEXT",
10461048
"EGLSyncKHR" => "types::EGLSyncKHR",

khronos_api/api_egl

Submodule api_egl updated 54 files

0 commit comments

Comments
 (0)