graphics-hook: blacklist OpenGL capture for "cm_client.exe"
Closes jp9000/obs-studio#1076
This commit is contained in:
parent
0cbd9cc051
commit
b9d044267d
@ -877,7 +877,8 @@ bool hook_gl(void)
|
||||
/* "life is feudal: your own" somehow uses both opengl and directx at
|
||||
* the same time, so blacklist it from capturing opengl */
|
||||
const char *process_name = get_process_name();
|
||||
if (_strcmpi(process_name, "yo_cm_client.exe") == 0) {
|
||||
if (_strcmpi(process_name, "yo_cm_client.exe") == 0 ||
|
||||
_strcmpi(process_name, "cm_client.exe") == 0) {
|
||||
hlog("Ignoring opengl for game: %s", process_name);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user