initWindow function

void initWindow(
  1. int screenWidth,
  2. int screenHeight,
  3. String title
)

Initialize window and OpenGL context.

Implementation

void initWindow(int screenWidth, int screenHeight, String title) {
  return library.InitWindow(
    screenWidth,
    screenHeight,
    string.toNative(title),
  );
}