fix multiple gl canvas issues

SVN revision: 9104
This commit is contained in:
Carsten Haitzler 2004-02-25 02:50:48 +00:00
parent 2b2c5f4874
commit ef1b948ddf
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Evas_GL_Context *
evas_gl_common_context_new(void)
{
Evas_GL_Context *gc;
if (_evas_gl_common_context)
{
_evas_gl_common_context->references++;
@ -39,6 +39,7 @@ evas_gl_common_context_new(void)
gc->change.clip = 1;
gc->change.buf = 1;
gc->change.other = 1;
_evas_gl_common_context = gc;
return gc;
}