diff options
author | Adam Jackson <[email protected]> | 2017-11-14 15:13:06 -0500 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2019-09-23 20:39:01 -0400 |
commit | 0d635ccc912d7122f35f81eec27d8b2c0a2a7a28 (patch) | |
tree | 69828bd7c50e62140760e5464fc6947f324264a9 /src/glx/tests | |
parent | 999c2aed8826f403b071f52b040ce25b56d35f9d (diff) |
glx: Implement GLX_EXT_no_config_context
This is the GLX counterpart to EGL_KHR_no_config_context. Contexts may
now be created without reference to an fbconfig, in which case it is
treated as compatible with any fbconfig (and thus any GLX drawable).
Khronos: https://github.com/KhronosGroup/OpenGL-Registry/pull/102
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glx/tests')
-rw-r--r-- | src/glx/tests/create_context_unittest.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/glx/tests/create_context_unittest.cpp b/src/glx/tests/create_context_unittest.cpp index a2590589db2..d19271b47ef 100644 --- a/src/glx/tests/create_context_unittest.cpp +++ b/src/glx/tests/create_context_unittest.cpp @@ -172,15 +172,6 @@ TEST_F(glXCreateContextAttribARB_test, NULL_display_returns_None) EXPECT_EQ(0, fake_glx_context::contexts_allocated); } -TEST_F(glXCreateContextAttribARB_test, NULL_fbconfig_returns_None) -{ - GLXContext ctx = - glXCreateContextAttribsARB(this->dpy, NULL, 0, False, NULL); - - EXPECT_EQ(None, ctx); - EXPECT_EQ(0, fake_glx_context::contexts_allocated); -} - TEST_F(glXCreateContextAttribARB_test, NULL_screen_returns_None) { delete psc; |