- some declarations for selecting the proper GPU on modern laptops.

This commit is contained in:
Christoph Oelckers 2015-08-01 09:38:20 +02:00 committed by alexey.lysiuk
parent d35f9f7bea
commit f004c0f5b0

View file

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