void stop() { if (texture) { texture->deinit_buffer(); #ifdef VSXU_DEBUG printf("deleting texture\n"); #endif delete texture; texture = 0; if (allocate_second_texture && texture2) { texture2->deinit_buffer(); delete texture2; texture2 = 0; } } }
void stop() { if (texture) { texture->deinit_buffer(); #ifdef VSXU_DEBUG printf("deleting texture\n"); #endif delete texture; texture = 0; } }