mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-13 17:25:54 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user