blob: 869c6eca8c32b85b8c0ccbe2404c21fc7260c575 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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");
|