Typo + warning fix
This commit is contained in:
parent
4deaec8924
commit
0930b5b587
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue