diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 2ae0e12..84179a5 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -652,7 +652,8 @@ delete_framebuffer_cb(GLuint id, void *data, void *userData) */ /*assert(fb->RefCount == 1);*/ fb->RefCount = 0; - fb->Delete(fb); + if (fb->Delete) + fb->Delete(fb); } /**