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:
jp9000
2019-10-07 02:23:46 -07:00
parent cda7f3e3fd
commit ec769ef008
4 changed files with 108 additions and 0 deletions

View 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@