Blitter: Change some informational virtual functions to member values

This commit is contained in:
Jonathan G Rennison
2023-08-22 23:02:25 +01:00
parent 46f5fb9f25
commit c4e8b919f8
7 changed files with 37 additions and 9 deletions

View File

@@ -490,6 +490,7 @@ void SetupDebugOutput()
*/
OpenGLBackend::OpenGLBackend() : cursor_cache(MAX_CACHED_CURSORS)
{
this->SetIs32BppSupported(true);
}
/**

View File

@@ -107,7 +107,6 @@ public:
/* SpriteEncoder */
bool Is32BppSupported() override { return true; }
uint GetSpriteAlignment() override { return 1u << (ZOOM_LVL_SPR_COUNT - 1); }
Sprite *Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator) override;
};