aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/tests
diff options
context:
space:
mode:
authorAdam Jackson <[email protected]>2019-09-26 11:07:13 -0400
committerAdam Jackson <[email protected]>2019-09-26 11:07:13 -0400
commita14e3b43be17997ab67a362addddab44ac856869 (patch)
tree10dabb8e89ca33ead6cb1348a2d4285120b7c885 /src/glx/tests
parent30f0c0ea7db129dafb2e879de8faad6907a09791 (diff)
Revert "glx: Implement GLX_EXT_no_config_context"
This reverts commit 0d635ccc912d7122f35f81eec27d8b2c0a2a7a28. Gitlab: https://gitlab.freedesktop.org/mesa/mesa/issues/1207
Diffstat (limited to 'src/glx/tests')
-rw-r--r--src/glx/tests/create_context_unittest.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glx/tests/create_context_unittest.cpp b/src/glx/tests/create_context_unittest.cpp
index d19271b47ef..a2590589db2 100644
--- a/src/glx/tests/create_context_unittest.cpp
+++ b/src/glx/tests/create_context_unittest.cpp
@@ -172,6 +172,15 @@ 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;