autocommit 2022-04-07 17:31:31 CEST
This commit is contained in:
parent
1d33088dba
commit
be32036824
200 changed files with 3267 additions and 2479 deletions
|
|
@ -1,12 +1,16 @@
|
|||
use crate::render::egl::sys::{eglQueryString, EGLDisplay, EGL_EXTENSIONS};
|
||||
use crate::render::gl::sys::{glGetString, GL_EXTENSIONS};
|
||||
use crate::utils::trim::AsciiTrim;
|
||||
use ahash::AHashSet;
|
||||
use bstr::ByteSlice;
|
||||
use std::ffi::CStr;
|
||||
use std::ops::BitOrAssign;
|
||||
use std::str;
|
||||
use uapi::c;
|
||||
use {
|
||||
crate::{
|
||||
render::{
|
||||
egl::sys::{eglQueryString, EGLDisplay, EGL_EXTENSIONS},
|
||||
gl::sys::{glGetString, GL_EXTENSIONS},
|
||||
},
|
||||
utils::trim::AsciiTrim,
|
||||
},
|
||||
ahash::AHashSet,
|
||||
bstr::ByteSlice,
|
||||
std::{ffi::CStr, ops::BitOrAssign, str},
|
||||
uapi::c,
|
||||
};
|
||||
|
||||
unsafe fn get_extensions(ext: *const c::c_char) -> Option<AHashSet<String>> {
|
||||
if ext.is_null() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue