mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Android: potentially work around a Qualcomm Adreno driver bug which prevented videos from being loaded into vram.
This commit is contained in:
@@ -590,6 +590,15 @@ bool Canvas::isFormatSupported(PixelFormat format, bool readable)
|
||||
return supported;
|
||||
}
|
||||
|
||||
void Canvas::resetFormatSupport()
|
||||
{
|
||||
for (int i = 0; i < (int)PIXELFORMAT_MAX_ENUM; i++)
|
||||
{
|
||||
checkedFormats[i].readable = false;
|
||||
checkedFormats[i].nonreadable = false;
|
||||
}
|
||||
}
|
||||
|
||||
} // opengl
|
||||
} // graphics
|
||||
} // love
|
||||
|
||||
Reference in New Issue
Block a user