sdl: vid: prevent infinite recursion if SDL failed create window with selected GL attributes

This commit is contained in:
Alibek Omarov
2019-08-03 19:01:35 +03:00
parent 386a68e334
commit 7be094b563
2 changed files with 22 additions and 15 deletions

View File

@@ -166,7 +166,8 @@ typedef enum
SAFE_NOALPHA, // don't set alpha bits
SAFE_NODEPTH, // don't set depth bits
SAFE_NOCOLOR, // don't set color bits
SAFE_DONTCARE // ignore everything, let SDL/EGL decide
SAFE_DONTCARE, // ignore everything, let SDL/EGL decide
SAFE_LAST, // must be last
} ref_safegl_context_t;
enum // OpenGL configuration attributes