From 4944588cfda8988fdf27edde071545bfe8e02b29 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 22 Feb 2013 17:13:10 -0800 Subject: [PATCH] glx/tests: Silence warnings after adding fields to glx_screen_vtable Signed-off-by: Ian Romanick --- src/glx/tests/fake_glx_screen.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/glx/tests/fake_glx_screen.cpp b/src/glx/tests/fake_glx_screen.cpp index 845084faa0f..7ee9b82e7c7 100644 --- a/src/glx/tests/fake_glx_screen.cpp +++ b/src/glx/tests/fake_glx_screen.cpp @@ -24,12 +24,16 @@ struct glx_screen_vtable fake_glx_screen::vt = { indirect_create_context, - indirect_create_context_attribs + indirect_create_context_attribs, + NULL, + NULL, }; struct glx_screen_vtable fake_glx_screen_direct::vt = { fake_glx_context_direct::create, - fake_glx_context_direct::create_attribs + fake_glx_context_direct::create_attribs, + NULL, + NULL, }; const struct glx_context_vtable fake_glx_context::vt = { -- 2.30.2