mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
GRAPHICS: Cleanup
- no need to dereference g_driver since createSpecialtyTexture() is already called in the correct object's context
This commit is contained in:
parent
ad2ce4a87e
commit
4425493124
@ -172,7 +172,7 @@ void GfxBase::createSpecialtyTexture(uint id, const uint8 *data, int width, int
|
||||
_specialtyTextures[id]._height = height;
|
||||
_specialtyTextures[id]._bpp = 4;
|
||||
_specialtyTextures[id]._colorFormat = BM_RGBA;
|
||||
g_driver->createTexture(&_specialtyTextures[id], data, nullptr, true);
|
||||
createTexture(&_specialtyTextures[id], data, nullptr, true);
|
||||
}
|
||||
|
||||
Bitmap *GfxBase::createScreenshotBitmap(const Graphics::PixelBuffer src, int w, int h, bool flipOrientation) {
|
||||
|
Loading…
Reference in New Issue
Block a user