aboutsummaryrefslogtreecommitdiff
path: root/emulators/yuzu/files/patch-renderdoc
blob: 225f28116027b928c86e57ed723937882fe55845 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
In file included from src/core/tools/renderdoc.cpp:4:
externals/./renderdoc/renderdoc_app.h:46:2: error: "Unknown platform"
   46 | #error "Unknown platform"
      |  ^
externals/./renderdoc/renderdoc_app.h:240:26: error: expected ')'
  240 | typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionU32)(RENDERDOC_CaptureOption opt, uint32_t val);
      |                          ^
externals/./renderdoc/renderdoc_app.h:240:12: note: to match this '('
  240 | typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionU32)(RENDERDOC_CaptureOption opt, uint32_t val);
      |            ^
[...]

--- externals/./renderdoc/renderdoc_app.h~	2023-09-18 13:31:05.000000000 +0000
+++ externals/./renderdoc/renderdoc_app.h	2023-09-18 17:24:14.130392873 +0000
@@ -38,12 +38,8 @@
 
 #if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
 #define RENDERDOC_CC __cdecl
-#elif defined(__linux__)
-#define RENDERDOC_CC
-#elif defined(__APPLE__)
-#define RENDERDOC_CC
 #else
-#error "Unknown platform"
+#define RENDERDOC_CC
 #endif
 
 #ifdef __cplusplus