Commit Graph

8 Commits

Author SHA1 Message Date
Stephen Gutekanst
4588c0fcad examples: do not call glfwSwapBuffers
I am porting this example to [mach-glfw](github.com/hexops/mach-glfw), and noticed that no GLFW error handling callback is registered because in my port there are a lot of GLFW errors :)

`glfwSwapBuffers` here is emitting `GLFW_NO_WINDOW_CONTEXT` errors constantly, because calling it without a valid OpenGL context is illegal. It's not needed for Vulkan.
2021-11-08 13:48:03 +01:00
Robin Voetter
b3c71d69ea Fix a whole bunch of issues exposed by ziglang/zig#9191
This also includes a workaround for the fact that @"type" refers to the builtin
and not to a variable called "type". See ziglang/zig#2897.
2021-07-06 10:37:39 +02:00
Robin Voetter
419e541a16 zig fmt **.zig 2021-07-06 10:37:39 +02:00
Robin Voetter
19138aa7a3 Fix missing {s} in triangle.zig 2021-01-08 19:47:56 +01:00
Robin Voetter
646d74ab6a Make graphics_context.zig naming consistent 2020-11-26 15:25:54 +01:00
Robin Voetter
0955d94ac5 Fix some synchronization in the example + remove unused import 2020-07-11 00:42:20 +02:00
Robin Voetter
3f63c476b5 Staging buffer 2020-07-06 02:35:56 +02:00
Robin Voetter
29de177c05 Rename example to triangle 2020-07-05 18:25:50 +02:00