How to use
First, import Wgl into your Zig source file.
Window Creation
Creates a Windows Context
try Wgl.init();
defer Wgl.deinit();
Wgl.swapInterval(10);
Wgl.errorCallback(printErrorInfo);
var win = try Wgl.createWindow(.{.width = 980, .height = 560});
defer win.destroy();
win.makeContextCurrent();
win.setSizeLimits(.{.min_width = 720, .min_height = 360});
while (!win.shouldClose()) {
// Game loop code here...
win.swapBuffers();
Wgl.pullEvents();
}