mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Start adding GLX_SAMPLE_BUFFERS/GLX_SAMPLES to X context
This commit is contained in:
parent
648a13b3b8
commit
601aba72ea
@ -24,6 +24,15 @@
|
||||
|
||||
#ifdef HAVE_OPENGL
|
||||
#include <GL/glx.h>
|
||||
|
||||
#ifndef GLX_SAMPLE_BUFFERS
|
||||
#define GLX_SAMPLE_BUFFERS 100000
|
||||
#endif
|
||||
|
||||
#ifndef GLX_SAMPLES
|
||||
#define GLX_SAMPLES 100001
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#include "../../configuration.h"
|
||||
@ -334,6 +343,8 @@ static void *gfx_ctx_x_init(void *data)
|
||||
GLX_ALPHA_SIZE , 8,
|
||||
GLX_DEPTH_SIZE , 0,
|
||||
GLX_STENCIL_SIZE , 0,
|
||||
GLX_SAMPLE_BUFFERS , 0,
|
||||
GLX_SAMPLES , 0,
|
||||
None
|
||||
};
|
||||
GLXFBConfig *fbcs = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user