Skip to content

Commit

Permalink
Should call original functions first to avoid called-only-once issue: f…
Browse files Browse the repository at this point in the history
  • Loading branch information
chenqiu1024 committed Nov 22, 2021
1 parent 39bb32f commit 53453d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shadertoy/hook/wrap_gl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1788,4 +1788,6 @@ static struct rebinding rebindings[] = {
void hookES30GL()
{
rebind_symbols(rebindings, 246);
// orig_glShaderSource(0, 0, NULL, NULL);
// Should call original functions first to avoid called-only-once issue: https://github.com/facebook/fishhook/issues/36
}

0 comments on commit 53453d8

Please sign in to comment.