glewGetErrorString function

Pointer<Uint8> glewGetErrorString(
  1. int error
)
GLEWAPI const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error)

Implementation

Pointer<Uint8> glewGetErrorString(int error) {
  final glewGetErrorStringLookupFunction = libGLEW.lookupFunction<
      Pointer<Uint8> Function(Uint32 error),
      Pointer<Uint8> Function(int error)>('glewGetErrorString');
  return glewGetErrorStringLookupFunction(error);
}