mirror of https://github.com/mpv-player/mpv
build: reduce GLX test fragment
While it doesn't matter for anything, we don't really need to check for GL symbols (neither headers nor for linking).
This commit is contained in:
parent
3c1401996b
commit
0788d7961f
|
@ -1,6 +1,5 @@
|
|||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
#include <GL/gl.h>
|
||||
#include <stddef.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
|
@ -8,8 +7,5 @@ int main(int argc, char *argv[]) {
|
|||
glXQueryExtensionsString(NULL, 0);
|
||||
glXGetProcAddressARB("");
|
||||
glXGetCurrentDisplay();
|
||||
glFinish();
|
||||
(void)GL_RGB32F; // arbitrary OpenGL 3.0 symbol
|
||||
(void)GL_LUMINANCE16; // arbitrary OpenGL legacy-only symbol
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue