Skip to content

Commit

Permalink
Fix the transparent object artifacts on NVIDIA GPUs.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzqst committed Jan 14, 2024
1 parent 035de5d commit 54327ca
Show file tree
Hide file tree
Showing 13 changed files with 302 additions and 207 deletions.
4 changes: 2 additions & 2 deletions Plugins/Renderer/gl_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ void R_FillAddress(void)
}

gPrivateFuncs.triapi_RenderMode = gEngfuncs.pTriAPI->RenderMode;
gPrivateFuncs.triapi_Color4f = gEngfuncs.pTriAPI->Color4f;
//gPrivateFuncs.triapi_Color4f = gEngfuncs.pTriAPI->Color4f;

bHasOfficialFBOSupport = false;
bHasOfficialGLTexAllocSupport = true;
Expand Down Expand Up @@ -7447,7 +7447,7 @@ hook_t *g_phook_Mod_LoadStudioModel = NULL;
hook_t *g_phook_Mod_LoadBrushModel = NULL;
hook_t *g_phook_Mod_UnloadSpriteTextures = NULL;
hook_t *g_phook_triapi_RenderMode = NULL;
hook_t *g_phook_triapi_Color4f = NULL;
//hook_t *g_phook_triapi_Color4f = NULL;
hook_t *g_phook_Draw_MiptexTexture = NULL;
hook_t *g_phook_BuildGammaTable = NULL;
hook_t *g_phook_DLL_SetModKey = NULL;
Expand Down
Loading

0 comments on commit 54327ca

Please sign in to comment.