- 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
parent 02c3828e8d
commit d9cc7c52ee

View file

@ -26,6 +26,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;