diff options
| author | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 15:00:52 +0100 |
|---|---|---|
| committer | Fabrice <fabrice@schaub-dev.xyz> | 2026-02-10 15:00:52 +0100 |
| commit | c5d36235175e4ab9c18e15473a6d561f4b9e79d1 (patch) | |
| tree | a0a4918d8a09da70ecc927327f79646b34caaf10 /src/wayclock.cc | |
| parent | 3f30bb5c626f38e55af8e0e77a0d5e5501ee2c91 (diff) | |
remove wgpu
Diffstat (limited to 'src/wayclock.cc')
| -rw-r--r-- | src/wayclock.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wayclock.cc b/src/wayclock.cc index 07d767e..2d3f9c7 100644 --- a/src/wayclock.cc +++ b/src/wayclock.cc @@ -1,10 +1,8 @@ -#include <wgpu.h> #include <cstdio> #include "events.h" #include "graphics.h" -#include "webgpu.h" #include "window.h" #define WAYC_APP_NAME "Wayclock" @@ -42,9 +40,6 @@ void handle(struct eventloop_s* loop, struct event_s* event) { } int main() { - WGPUInstance instance = wgpuCreateInstance(nullptr); - if (instance == nullptr) wayc_panic("Failed to create WGPU instance"); - struct graphics_s graphics; if (wayc_graphics_init(&graphics) != GRAPHICS_ERROR_NONE) wayc_panic("Failed to initialize graphics"); @@ -69,6 +64,5 @@ int main() { wayc_window_deinit(&window); wayc_eventloop_deinit(&loop); wayc_graphics_deinit(&graphics); - wgpuInstanceRelease(instance); return 0; }
\ No newline at end of file |
