Skip to content

Commit

Permalink
Improve GLInject hooking implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartenBaert committed Jul 30, 2024
1 parent 7d13158 commit fa2f16b
Show file tree
Hide file tree
Showing 5 changed files with 441 additions and 116 deletions.
6 changes: 3 additions & 3 deletions glinject/GLInject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE
GLInject::GLInject() {

#ifdef __x86_64__
fprintf(stderr, "[SSR-GLInject] Library loaded (64-bit).\n");
GLINJECT_PRINT("[SSR-GLInject] GLInject started (64-bit).");
#else
fprintf(stderr, "[SSR-GLInject] Library loaded (32-bit).\n");
GLINJECT_PRINT("[SSR-GLInject] GLInject started (32-bit).");
#endif

}
Expand All @@ -28,7 +28,7 @@ GLInject::~GLInject() {
m_glx_frame_grabbers.pop_back();
}

fprintf(stderr, "[SSR-GLInject] Library unloaded.\n");
GLINJECT_PRINT("[SSR-GLInject] GLInject stopped.");

}

Expand Down
Loading

0 comments on commit fa2f16b

Please # to comment.