Skip to content
Snippets Groups Projects
Commit efe38111 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

just in case

parent 7dde62b8
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,7 @@ drawContextFltkCairo::~drawContextFltkCairo() ...@@ -144,7 +144,7 @@ drawContextFltkCairo::~drawContextFltkCairo()
{ {
cairo_destroy(_cr); cairo_destroy(_cr);
cairo_surface_destroy(_surface); cairo_surface_destroy(_surface);
glDeleteTextures(1, &_textureId); if(_textureId) glDeleteTextures(1, &_textureId);
} }
drawContextFltkCairo::drawContextFltkCairo() drawContextFltkCairo::drawContextFltkCairo()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment