mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-14 18:00:54 +00:00
Move common functions declarations into header
This commit is contained in:
1 parent
af3cfa8932
commit
eb9a545104
7 files changed
+81
-26
No files matched your search
@@ -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