dynamic tex ref wrong. fix.

SVN revision: 53027
This commit is contained in:
Carsten Haitzler 2010-10-04 11:17:11 +00:00
parent 9b0305d236
commit 21a7dde012
1 changed files with 3 additions and 3 deletions

View File

@ -765,8 +765,8 @@ evas_gl_common_texture_render_new(Evas_GL_Context *gc, unsigned int w, unsigned
tex->y = 0;
tex->w = w;
tex->h = h;
tex->pt->references++;
return tex;
tex->pt->references++;
return tex;
}
Evas_GL_Texture *
@ -807,7 +807,7 @@ evas_gl_common_texture_dynamic_new(Evas_GL_Context *gc, Evas_GL_Image *im)
free(tex);
return NULL;
}
tex->pt->references++;
return tex;
}