glNewList function

void glNewList(
  1. int list,
  2. int mode
)
GLAPI void GLAPIENTRY glNewList (GLuint list, GLenum mode)

Implementation

void glNewList(int list, int mode) {
  final glNewListLookupFunction = libGL.lookupFunction<
      Void Function(Uint32 list, Uint32 mode),
      void Function(int list, int mode)>('glNewList');
  return glNewListLookupFunction(list, mode);
}