Change dllexport'd RENDERDOC_GetAPI to a function pointer typedef

* Apps don't link against renderdoc so a dllexport is meaningless, they
  need a typedef to declare the function pointer they will
  GetProcAddress().
This commit is contained in:
baldurk
2015-08-27 17:57:18 +02:00
parent 9d25afbfa0
commit 455797f93e
2 changed files with 7 additions and 22 deletions
+1
View File
@@ -28,6 +28,7 @@
#include "core/core.h"
#include "hooks/hooks.h"
#include "api/app/renderdoc_app.h"
#include "api/replay/renderdoc_replay.h" // for RENDERDOC_API to export the RENDERDOC_GetAPI function
static void SetFocusToggleKeys(RENDERDOC_InputButton *keys, int num)
{