return;
if (fContext[contextID]->st) {
- fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL, NULL, NULL);
+ fContext[contextID]->st->flush(fContext[contextID]->st, 0, NULL);
fContext[contextID]->st->destroy(fContext[contextID]->st);
}
if (oldContextID > 0 && oldContextID != contextID) {
fContext[oldContextID]->st->flush(fContext[oldContextID]->st,
- ST_FLUSH_FRONT, NULL, NULL, NULL);
+ ST_FLUSH_FRONT, NULL);
}
// We need to lock and unlock framebuffers before accessing them
ERROR("%s: context not found\n", __func__);
return B_ERROR;
}
- context->st->flush(context->st, ST_FLUSH_FRONT, NULL, NULL, NULL);
+ context->st->flush(context->st, ST_FLUSH_FRONT, NULL);
struct hgl_buffer* buffer = hgl_st_framebuffer(context->draw->stfbi);
pipe_surface* surface = buffer->surface;