summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/spec/glx_arb_create_context/no-error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spec/glx_arb_create_context/no-error.c b/tests/spec/glx_arb_create_context/no-error.c
index b85e30448..8a4b05d1e 100644
--- a/tests/spec/glx_arb_create_context/no-error.c
+++ b/tests/spec/glx_arb_create_context/no-error.c
@@ -43,7 +43,7 @@ static enum piglit_result check_no_error(bool debug, bool robust)
None
};
static bool is_dispatch_init = false;
- GLXContext ctx;
+ GLXContext ctx = NULL;
enum piglit_result result = PIGLIT_SKIP;
printf("info: debug=%s, robustness=%s\n", BOOLSTR(debug), BOOLSTR(robust));