glfw: Update tests in all other files to reflect changes made to glfw.init
This commit is contained in:
parent
e9175fb9f1
commit
f00367e696
9 changed files with 111 additions and 111 deletions
|
|
@ -104,7 +104,7 @@ test "create" {
|
|||
const allocator = testing.allocator;
|
||||
|
||||
const glfw = @import("main.zig");
|
||||
try glfw.init();
|
||||
try glfw.init(.{});
|
||||
defer glfw.terminate();
|
||||
|
||||
const image = try Image.init(allocator, 32, 32, 32 * 32 * 4);
|
||||
|
|
@ -119,7 +119,7 @@ test "create" {
|
|||
|
||||
test "createStandard" {
|
||||
const glfw = @import("main.zig");
|
||||
try glfw.init();
|
||||
try glfw.init(.{});
|
||||
defer glfw.terminate();
|
||||
|
||||
const cursor = glfw.Cursor.createStandard(.ibeam) catch |err| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue