Typo + warning fix

This commit is contained in:
Henrik Rydgard 2013-01-25 19:08:28 +01:00
parent 4deaec8924
commit 0930b5b587
3 changed files with 3 additions and 3 deletions

View file

@ -376,7 +376,7 @@ void GLES_GPU::SetRenderFrameBuffer() {
VirtualFramebuffer *vfb = 0;
for (auto iter = vfbs_.begin(); iter != vfbs_.end(); ++iter) {
VirtualFramebuffer *v = *iter;
if (v->fb_address == fb_address && v->width == drawing_width && v->height == drawing_height /* && v->format == fmt */) {
if (v->fb_address == fb_address && v->width == drawing_width && v->height == drawing_height && v->format == fmt) {
// Let's not be so picky for now. Let's say this is the one.
vfb = v;
// Update fb stride in case it changed