Move glx_fbconfig_t to opengl.c

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2018-12-31 00:38:13 +00:00
parent e7a8adf2cc
commit 3e7b7bd608
2 changed files with 9 additions and 8 deletions

View File

@ -17,6 +17,14 @@
#include <ctype.h>
#include <locale.h>
/// @brief Wrapper of a GLX FBConfig.
typedef struct glx_fbconfig {
GLXFBConfig cfg;
GLint texture_fmt;
GLint texture_tgts;
bool y_inverted;
} glx_fbconfig_t;
#ifdef DEBUG_GLX_ERR
/**