mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2025-04-23 00:41:05 +00:00
- some declarations for selecting the proper GPU on modern laptops.
This commit is contained in:
parent
d35f9f7bea
commit
f004c0f5b0
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@
|
|||
#include "gl/renderer/gl_renderer.h"
|
||||
#include "gl/system/gl_framebuffer.h"
|
||||
|
||||
extern "C" {
|
||||
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||
}
|
||||
|
||||
void gl_CalculateCPUSpeed();
|
||||
extern int NewWidth, NewHeight, NewBits, DisplayBits;
|
||||
|
||||
|
|
Loading…
Reference in a new issue