glViewport function
GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height)
Implementation
void glViewport(int x, int y, int width, int height) {
final glViewportLookupFunction = libGL.lookupFunction<
Void Function(Int32 x, Int32 y, Uint32 width, Uint32 height),
void Function(int x, int y, int width, int height)>('glViewport');
return glViewportLookupFunction(x, y, width, height);
}