Skip to content

Commit c00a2d9

Browse files
authored
Merge pull request #302 from Biswa96/declspec-typo
tests: Fix typo in declspec keyword
2 parents 554b17a + f476d13 commit c00a2d9

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- issue.1691.gl
3+
---
4+
hello_xr: Fix typo in declspec keyword
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
- issue.1712.gl
3+
---
4+
Loader: Adjust Android loader build to use the static C++ runtime, since we do not expose any C++ interfaces.

src/tests/hello_xr/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
// Favor the high performance NVIDIA or AMD GPUs
1515
extern "C" {
1616
// http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf
17-
_declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
17+
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
1818
// https://gpuopen.com/learn/amdpowerxpressrequesthighperformance/
19-
_declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
19+
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 0x00000001;
2020
}
2121
#endif // defined(_WIN32)
2222

0 commit comments

Comments
 (0)