diff options
Diffstat (limited to 'src/mesa/main/api_arrayelt.c')
-rw-r--r-- | src/mesa/main/api_arrayelt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c index e4533713cd9..68e263ea1bb 100644 --- a/src/mesa/main/api_arrayelt.c +++ b/src/mesa/main/api_arrayelt.c @@ -250,6 +250,9 @@ static void (*fogcoordfuncs[8])( const void * ) = { GLboolean _ae_create_context( GLcontext *ctx ) { + if (ctx->aelt_context) + return GL_TRUE; + ctx->aelt_context = MALLOC( sizeof(AEcontext) ); if (!ctx->aelt_context) return GL_FALSE; |