CI: add macOS testing pipeline (#2)
* CI: add macOS testing pipeline * glfw: use hidden window Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
395fad07a6
commit
0a7e8d341c
2 changed files with 16 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ pub fn basicTest() void {
|
|||
if (c.glfwInit() != c.GLFW_TRUE) {
|
||||
@panic("failed to init");
|
||||
}
|
||||
c.glfwWindowHint(c.GLFW_VISIBLE, c.GLFW_FALSE);
|
||||
const window = c.glfwCreateWindow(640, 480, "GLFW example", null, null);
|
||||
if (window == null) {
|
||||
c.glfwTerminate();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue