mirror of
https://github.com/love2d/love.git
synced 2026-08-18 19:54:22 +02:00
Move decoder-agnostic love.image code out of the magpie backend folder.
--HG-- branch : minor
This commit is contained in:
@@ -18,12 +18,11 @@
|
||||
* 3. This notice may not be removed or altered from any source distribution.
|
||||
**/
|
||||
|
||||
#ifndef LOVE_IMAGE_MAGPIE_PVR_HANDLER_H
|
||||
#define LOVE_IMAGE_MAGPIE_PVR_HANDLER_H
|
||||
#pragma once
|
||||
|
||||
// LOVE
|
||||
#include "common/config.h"
|
||||
#include "CompressedFormatHandler.h"
|
||||
#include "image/CompressedFormatHandler.h"
|
||||
|
||||
namespace love
|
||||
{
|
||||
@@ -41,8 +40,8 @@ public:
|
||||
// Implements CompressedFormatHandler.
|
||||
bool canParse(const filesystem::FileData *data) override;
|
||||
|
||||
StrongRef<CompressedImageData::Memory> parse(filesystem::FileData *filedata,
|
||||
std::vector<StrongRef<CompressedImageData::Slice>> &images,
|
||||
StrongRef<CompressedMemory> parse(filesystem::FileData *filedata,
|
||||
std::vector<StrongRef<CompressedSlice>> &images,
|
||||
PixelFormat &format, bool &sRGB) override;
|
||||
|
||||
}; // PVRHandler
|
||||
@@ -50,5 +49,3 @@ public:
|
||||
} // magpie
|
||||
} // image
|
||||
} // love
|
||||
|
||||
#endif // LOVE_IMAGE_MAGPIE_PVR_HANDLER_H
|
||||
|
||||
Reference in New Issue
Block a user