Merge pull request #234 from MatthewBeshay/fix/linux-iggy-customdraw-matrix

Fix Linux Iggy custom draw matrix layout
This commit is contained in:
Tropical 2026-03-14 11:44:19 -05:00 committed by GitHub
commit 89e87d874b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -229,10 +229,10 @@ GDrawFunctions *gdraw_GL_CreateContext(S32 w, S32 h, S32 msaa_samples)
void gdraw_GL_BeginCustomDraw_4J(IggyCustomDrawCallbackRegion *region, F32 *matrix)
{
clear_renderstate();
gdraw_GetObjectSpaceMatrix(matrix, region->o2w, gdraw->projection, depth_from_id(0), 1);
gdraw_GetObjectSpaceMatrix(matrix, region->o2w, gdraw->projection, depth_from_id(0), 0);
}
void gdraw_GL_CalculateCustomDraw_4J(IggyCustomDrawCallbackRegion *region, F32 *matrix)
{
gdraw_GetObjectSpaceMatrix(matrix, region->o2w, gdraw->projection, 0.0f, 0);
}
}