mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-21 21:52:04 +02:00
Remove extraneous call to glReadPixels
This commit is contained in:
parent
990d49020d
commit
393449e376
1 changed files with 0 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue