Skip to content
Snippets Groups Projects
Commit a384b0c5 authored by Keith Whitwell's avatar Keith Whitwell
Browse files

Cope with being initialized multiple times.

parent acfa4d46
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment