mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Move common functions declarations into header
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
* THE SOFTWARE.
|
||||
******************************************************************************/
|
||||
|
||||
#include "renderdoccmd.h"
|
||||
#include <app/renderdoc_app.h>
|
||||
#include <renderdocshim.h>
|
||||
#include <replay/renderdoc_replay.h>
|
||||
@@ -221,7 +222,7 @@ wstring GetUsername()
|
||||
return username;
|
||||
}
|
||||
|
||||
void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay displayCfg)
|
||||
void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay &displayCfg)
|
||||
{
|
||||
HWND wnd = CreateWindowEx(WS_EX_CLIENTEDGE, L"renderdoccmd", L"renderdoccmd", WS_OVERLAPPEDWINDOW,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT, 1280, 720, NULL, NULL, hInstance, NULL);
|
||||
@@ -265,10 +266,6 @@ void DisplayRendererPreview(ReplayRenderer *renderer, TextureDisplay displayCfg)
|
||||
DestroyWindow(wnd);
|
||||
}
|
||||
|
||||
int renderdoccmd(const std::vector<std::string> &argv);
|
||||
bool argequal(const std::string &a, const std::string &b);
|
||||
void readCapOpts(const std::string &str, CaptureOptions *opts);
|
||||
|
||||
int WINAPI wWinMain(_In_ HINSTANCE hInst, _In_opt_ HINSTANCE hPrevInstance, _In_ LPWSTR lpCmdLine,
|
||||
_In_ int nShowCmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user