1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Add TxFilterStub.cpp for GL ES.

Temporal solution to avoid compilation errors.
This commit is contained in:
Sergey Lipskiy 2015-04-23 17:24:23 +06:00
parent 759578ff14
commit 12102146f1
2 changed files with 45 additions and 0 deletions

View File

@ -59,6 +59,7 @@ LOCAL_SRC_FILES := \
$(SRCDIR)/mupenplus/MupenPlusAPIImpl.cpp \
$(SRCDIR)/mupenplus/OpenGL_mupenplus.cpp \
$(SRCDIR)/TextDrawerStub.cpp \
$(SRCDIR)/TxFilterStub.cpp \
LOCAL_CFLAGS := \
$(COMMON_CFLAGS) \

44
src/TxFilterStub.cpp Normal file
View File

@ -0,0 +1,44 @@
#include "GLideNHQ/Ext_TxFilter.h"
TAPI boolean TAPIENTRY
txfilter_init(int maxwidth, int maxheight, int maxbpp, int options, int cachesize,
const wchar_t *path, const wchar_t * texPackPath, const wchar_t*ident, dispInfoFuncExt callback)
{
return 0;
}
TAPI void TAPIENTRY
txfilter_shutdown(void)
{}
TAPI boolean TAPIENTRY
txfilter_filter(uint8 *src, int srcwidth, int srcheight, uint16 srcformat,
uint64 g64crc, GHQTexInfo *info)
{
return 0;
}
TAPI boolean TAPIENTRY
txfilter_hirestex(uint64 g64crc, uint64 r_crc64, uint16 *palette, GHQTexInfo *info)
{
return 0;
}
TAPI uint64 TAPIENTRY
txfilter_checksum(uint8 *src, int width, int height, int size, int rowStride, uint8 *palette)
{
return 0U;
}
TAPI boolean TAPIENTRY
txfilter_dmptx(uint8 *src, int width, int height, int rowStridePixel, uint16 gfmt, uint16 n64fmt, uint64 r_crc64)
{
return 0;
}
TAPI boolean TAPIENTRY
txfilter_reloadhirestex()
{
return 0;
}