mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 22:30:22 +00:00
0788d7961f
While it doesn't matter for anything, we don't really need to check for GL symbols (neither headers nor for linking).
12 lines
247 B
C
12 lines
247 B
C
#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;
|
|
}
|