mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
sdl: vid: fix washed out screen on Windows and probably other platforms(#50)
This commit is contained in:
@@ -169,27 +169,19 @@ typedef enum
|
||||
SAFE_DONTCARE // ignore everything, let SDL/EGL decide
|
||||
} ref_safegl_context_t;
|
||||
|
||||
// binary compatible with SDL2
|
||||
enum // OpenGL configuration attributes
|
||||
{
|
||||
REF_GL_RED_SIZE,
|
||||
REF_GL_GREEN_SIZE,
|
||||
REF_GL_BLUE_SIZE,
|
||||
REF_GL_ALPHA_SIZE,
|
||||
// UNUSED_REF_GL_BUFFER_SIZE,
|
||||
REF_GL_DOUBLEBUFFER = REF_GL_ALPHA_SIZE + 1,
|
||||
REF_GL_DOUBLEBUFFER,
|
||||
REF_GL_DEPTH_SIZE,
|
||||
REF_GL_STENCIL_SIZE,
|
||||
// UNUSED_REF_GL_ACCUM_RED_SIZE,
|
||||
// UNUSED_REF_GL_ACCUM_GREEN_SIZE,
|
||||
// UNUSED_REF_GL_ACCUM_BLUE_SIZE,
|
||||
// UNUSED_REF_GL_ACCUM_ALPHA_SIZE,
|
||||
// UNUSED_REF_GL_STEREO,
|
||||
REF_GL_MULTISAMPLEBUFFERS = REF_GL_STENCIL_SIZE + 5,
|
||||
REF_GL_MULTISAMPLEBUFFERS,
|
||||
REF_GL_MULTISAMPLESAMPLES,
|
||||
REF_GL_ACCELERATED_VISUAL,
|
||||
// UNUSED_REF_GL_RETAINED_BACKING,
|
||||
REF_GL_CONTEXT_MAJOR_VERSION = REF_GL_ACCELERATED_VISUAL + 1,
|
||||
REF_GL_CONTEXT_MAJOR_VERSION,
|
||||
REF_GL_CONTEXT_MINOR_VERSION,
|
||||
REF_GL_CONTEXT_EGL,
|
||||
REF_GL_CONTEXT_FLAGS,
|
||||
|
||||
Reference in New Issue
Block a user