From c5d36235175e4ab9c18e15473a6d561f4b9e79d1 Mon Sep 17 00:00:00 2001 From: Fabrice Date: Tue, 10 Feb 2026 15:00:52 +0100 Subject: remove wgpu --- src/wayclock.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') 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 #include #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 -- cgit v1.2.3