pub fn to_result<T>(
funcname: &'static str,
ret: T,
gl_error: u32,
) -> Result<T, GLCoreError>Expand description
Convert the constants returns from glGetError() to Result<T>
pub fn to_result<T>(
funcname: &'static str,
ret: T,
gl_error: u32,
) -> Result<T, GLCoreError>Convert the constants returns from glGetError() to Result<T>