From bf4b3a5c35152c1292757134123b3363d0f81bf6 Mon Sep 17 00:00:00 2001 From: Matt Kosarek Date: Mon, 29 Dec 2025 09:34:00 -0500 Subject: Renamed PascalCase files to snake_case --- themes/src/webgl_context.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 themes/src/webgl_context.h (limited to 'themes/src/webgl_context.h') diff --git a/themes/src/webgl_context.h b/themes/src/webgl_context.h new file mode 100644 index 0000000..1956092 --- /dev/null +++ b/themes/src/webgl_context.h @@ -0,0 +1,18 @@ +#pragma once +#include "types.h" +#include +#include +#include +#include +#include + +struct WebglContext { + EMSCRIPTEN_WEBGL_CONTEXT_HANDLE context; + f32 width = 800; + f32 height = 600; + char query[128];; + + void init(const char* inQuery); + void makeCurrentContext(); + void destroy() ; +}; -- cgit v1.2.1