From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/modules/opengl/option.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/modules/opengl/option.h (limited to 'src/modules/opengl/option.h') diff --git a/src/modules/opengl/option.h b/src/modules/opengl/option.h new file mode 100644 index 0000000..869c6ec --- /dev/null +++ b/src/modules/opengl/option.h @@ -0,0 +1,17 @@ +#pragma once + +#include "common/option.h" + +typedef enum FF_A_PACKED FFOpenGLLibrary { + FF_OPENGL_LIBRARY_AUTO, + FF_OPENGL_LIBRARY_EGL, + FF_OPENGL_LIBRARY_GLX, +} FFOpenGLLibrary; + +typedef struct FFOpenGLOptions { + FFModuleArgs moduleArgs; + + FFOpenGLLibrary library; +} FFOpenGLOptions; + +static_assert(sizeof(FFOpenGLOptions) <= FF_OPTION_MAX_SIZE, "FFOpenGLOptions size exceeds maximum allowed size"); -- cgit v1.2.3