1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-11 17:37:23 +00:00
mpv/waftools/fragments/gl_x11.c

12 lines
247 B
C
Raw Normal View History

#include <X11/Xlib.h>
#include <GL/glx.h>
#include <stddef.h>
int main(int argc, char *argv[]) {
glXCreateContext(NULL, NULL, NULL, True);
glXQueryExtensionsString(NULL, 0);
glXGetProcAddressARB("");
glXGetCurrentDisplay();
return 0;
}