blob: c213e0bfb0cb780ad9d47182866a7e5d4eb3f930 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// nvapi-include.h
#pragma once
// A helper that makes the NVAPI available across targets
#ifdef GFX_NVAPI
// On windows if we include NVAPI, we must include windows.h first
# ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
# define NOMINMAX
# include <Windows.h>
# undef WIN32_LEAN_AND_MEAN
# undef NOMINMAX
# endif
# include <nvapi.h>
# include <nvShaderExtnEnums.h>
#endif
|