Skip to content

Commit 68556d7

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

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
@@ -1031,6 +1031,7 @@ pub fn to_rust_ty<T: AsRef<str>>(ty: T) -> Cow<'static, str> {
10311031
//"Bool" => "types::Bool",
10321032
"EGLBoolean" => "types::EGLBoolean",
10331033
"EGLenum" => "types::EGLenum",
1034+
"EGLenum *" => "*mut types::EGLenum",
10341035
"EGLAttribKHR" => "types::EGLAttribKHR",
10351036
"EGLAttrib" => "types::EGLAttrib",
10361037
"EGLAttrib *" => "*mut types::EGLAttrib",
@@ -1048,6 +1049,7 @@ pub fn to_rust_ty<T: AsRef<str>>(ty: T) -> Cow<'static, str> {
10481049
},
10491050
"EGLImageKHR" => "types::EGLImageKHR",
10501051
"EGLImage" => "types::EGLImage",
1052+
"EGLImage *" => "*mut types::EGLImage",
10511053
"EGLOutputLayerEXT" => "types::EGLOutputLayerEXT",
10521054
"EGLOutputPortEXT" => "types::EGLOutputPortEXT",
10531055
"EGLSyncKHR" => "types::EGLSyncKHR",

khronos_api/api_egl

Submodule api_egl updated 53 files

0 commit comments

Comments
 (0)