mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-02 09:39:48 -04:00
Update aurora & use new frame buffer API
This commit is contained in:
@@ -1180,23 +1180,12 @@ dMap_c::dMap_c(int width, int height, int param_2, int param_3) {
|
||||
mImage_p = JKR_NEW_ARRAY_ARGS(u8, buffer_size, 0x20);
|
||||
JUT_ASSERT(2638, mImage_p != NULL);
|
||||
|
||||
|
||||
#ifdef TARGET_PC
|
||||
// Increase map render resolution
|
||||
renderingDAmap_c::init(mImage_p, mTexSizeX * 4, mTexSizeY * 4, mTexSizeX, mTexSizeY);
|
||||
#else
|
||||
renderingDAmap_c::init(mImage_p, mTexSizeX, mTexSizeY, mTexSizeX, mTexSizeY);
|
||||
#endif
|
||||
|
||||
mResTIMG = JKR_NEW_ARGS (0x20) ResTIMG;
|
||||
JUT_ASSERT(2647, mResTIMG != NULL);
|
||||
|
||||
#ifdef TARGET_PC
|
||||
// Increase map render resolution
|
||||
makeResTIMG(mResTIMG, mTexSizeX * 4, mTexSizeY * 4, mImage_p, (u8*)m_res, 0x33);
|
||||
#else
|
||||
makeResTIMG(mResTIMG, mTexSizeX, mTexSizeY, mImage_p, (u8*)m_res, 0x33);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
|
||||
Reference in New Issue
Block a user