Remove extraneous call to glReadPixels

This commit is contained in:
Roza 2021-05-08 12:28:30 -04:00
parent 990d49020d
commit 393449e376

View file

@ -1989,7 +1989,6 @@ void Bitmap::removeFrame(int position) {
p->animation.frames.erase(p->animation.frames.begin());
FBO::bind(p->gl.fbo);
gl.ReadPixels(0,0,p->gl.width, p->gl.height, GL_RGBA, GL_UNSIGNED_BYTE, p->surface->pixels);
taintArea(rect());
}
}