aaah yes. get the ref -1 as free will dec it.

SVN revision: 50662
This commit is contained in:
Carsten Haitzler 2010-07-29 23:32:56 +00:00
parent 55baf0a4f1
commit 04df26bef5
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ eng_window_free(Evas_GL_X11_Window *gw)
if (gw == _evas_gl_x11_window) _evas_gl_x11_window = NULL;
if (gw->gl_context)
{
ref = gw->gl_context->references;
ref = gw->gl_context->references - 1;
evas_gl_common_context_free(gw->gl_context);
}
#if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)