libobs-d3d11: Set maximum GPU priority
(This commit also modifies the UI) This solves the issue where OBS would be deprioritized by Windows over fullscreen games, causing OBS to lag out whereas the games would still run fine.
This commit is contained in:
20
libobs-d3d11/d3d11-config.h.in
Normal file
20
libobs-d3d11/d3d11-config.h.in
Normal file
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef TRUE
|
||||
#define TRUE 1
|
||||
#endif
|
||||
|
||||
#ifndef ON
|
||||
#define ON 1
|
||||
#endif
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
#endif
|
||||
|
||||
#ifndef OFF
|
||||
#define OFF 0
|
||||
#endif
|
||||
|
||||
#define USE_GPU_PRIORITY @USE_GPU_PRIORITY@
|
||||
#define GPU_PRIORITY_VAL @GPU_PRIORITY_VAL@
|
Reference in New Issue
Block a user