diff options
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/gl_genexec.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py index 7952ace280f..da9ae716a54 100644 --- a/src/mapi/glapi/gen/gl_genexec.py +++ b/src/mapi/glapi/gen/gl_genexec.py @@ -127,6 +127,7 @@ _mesa_initialize_exec_table(struct gl_context *ctx) exec = ctx->Exec; assert(exec != NULL); + assert(ctx->Version > 0); """ |