libglvnd/tests/testglxcreatecontext.sh
Kyle Brenneman f34d06facf tests: Add a test for creating GLX contexts.
Add a new test, testglxcreatecontext to test the various functions for creating
GLX contexts.

It tests the core GLX functions, the GLX_ARB_create_context and
GLX_EXT_no_config_context extensions, and using a vendor-provided extension
function.

The new test is much simpler than trying to use testglxmakecurrent to test both
context creation and MakeCurrent, especially for trying to test multiple
context creation functions.
2017-12-06 13:33:42 -07:00

6 lines
72 B
Bash
Executable file

#!/bin/bash
source $TOP_SRCDIR/tests/glxenv.sh
./testglxcreatecontext