mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-04-07 11:26:38 +05:00
SilentPatch: Simplify RwIm2DRenderLine function pointer declaration
MinGW GCC doesn't seem to unwind the layers of the macro define properly (which causes it to not find the declaration type)
This commit is contained in:
parent
ed557c72fb
commit
03d950589a
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ namespace HandlingNameLoadFix
|
|||
// ============= Corona lines rendering fix =============
|
||||
namespace CoronaLinesFix
|
||||
{
|
||||
static decltype(RwIm2DRenderLine)* orgRwIm2DRenderLine;
|
||||
static RwIm2DRenderLineFunction orgRwIm2DRenderLine;
|
||||
static RwBool RenderLine_SetRecipZ( RwIm2DVertex *vertices, RwInt32 numVertices, RwInt32 vert1, RwInt32 vert2 )
|
||||
{
|
||||
const RwReal nearScreenZ = RwIm2DGetNearScreenZ();
|
||||
|
@ -379,4 +379,4 @@ namespace Common {
|
|||
TXN_CATCH();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue