mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-10 21:44:22 +00:00
Fix file_unittest.cpp to use she library instead of ScopedAllegro.
This commit is contained in:
parent
cf90dbd734
commit
617dd014d4
@ -25,7 +25,7 @@
|
|||||||
#include "file/file.h"
|
#include "file/file.h"
|
||||||
#include "file/file_formats_manager.h"
|
#include "file/file_formats_manager.h"
|
||||||
#include "raster/raster.h"
|
#include "raster/raster.h"
|
||||||
#include "scoped_allegro.h"
|
#include "she/she.h"
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
TEST(File, SeveralSizes)
|
TEST(File, SeveralSizes)
|
||||||
{
|
{
|
||||||
ScopedAllegro allegro;
|
she::ScopedHandle<she::System> system(she::CreateSystem());
|
||||||
// Register all possible image formats.
|
// Register all possible image formats.
|
||||||
FileFormatsManager::instance().registerAllFormats();
|
FileFormatsManager::instance().registerAllFormats();
|
||||||
std::vector<char> fn(256);
|
std::vector<char> fn(256);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user