Asset manager refactor begin.
This commit is contained in:
18
archive/asset/assetpalette.c
Normal file
18
archive/asset/assetpalette.c
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Copyright (c) 2025 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#include "asset.h"
|
||||
|
||||
void assetParsePalette() {
|
||||
textureInit(
|
||||
&ASSET.loaded.palette,
|
||||
ASSET.data.palette.colorCount,
|
||||
1,
|
||||
TEXTURE_FORMAT_RGBA,
|
||||
ASSET.data.palette.colors
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user