diff options
author | mattkae <mattkae@protonmail.com> | 2022-12-23 12:47:10 -0500 |
---|---|---|
committer | mattkae <mattkae@protonmail.com> | 2022-12-23 12:47:10 -0500 |
commit | 7228b2e1a2d0a8399facce3493d71a3569d250d5 (patch) | |
tree | 8eb5e4b686bf68fa12fcbb270ef88dd29aa1d704 /themes/WebglContext.h | |
parent | f63d0af456f76d713e56ca17be114fba0af22f6c (diff) |
Improved the makefile considerably
Diffstat (limited to 'themes/WebglContext.h')
-rw-r--r-- | themes/WebglContext.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/themes/WebglContext.h b/themes/WebglContext.h deleted file mode 100644 index 1956092..0000000 --- a/themes/WebglContext.h +++ /dev/null @@ -1,18 +0,0 @@ -#pragma once -#include "types.h" -#include <cstring> -#include <emscripten.h> -#include <emscripten/html5.h> -#include <GLES2/gl2.h> -#include <EGL/egl.h> - -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() ; -}; |