Skip to content

Commit

Permalink
Fixed an issue "Could not located GL_UnloadTexture" in HL25 (buildnum…
Browse files Browse the repository at this point in the history
… 10120)
  • Loading branch information
hzqst committed Dec 10, 2024
1 parent d26e75c commit 78905e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/Renderer/gl_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6896,7 +6896,7 @@ void sub_1D1A030()

if (!gPrivateFuncs.GL_UnloadTexture && ctx->candidate_E8)
{
if (instCount > ctx->candidate_E8_instCount && instCount < ctx->candidate_E8_instCount + 5)
if (instCount > ctx->candidate_E8_instCount && instCount < ctx->candidate_E8_instCount + 10)
{
//.text:01D8B20C FF B7 20 01 00 00 push dword ptr [edi+120h]
if (pinst->id == X86_INS_PUSH &&
Expand Down

0 comments on commit 78905e0

Please sign in to comment.