Linux compile fixes

This commit is contained in:
baldurk committed 2016-02-07 18:49:33 +01:00
1 parent a3bf43c852
commit 290b695a6b
23 files changed
+186 -180

No files matched your search

+1 -2
View File
@@ -196,8 +196,7 @@ int renderdoccmd(int argc, char **argv)
byte *jpgbuf = new byte[len];
RENDERDOC_GetThumbnail(argv[2], jpgbuf, len);
FILE *f = NULL;
fopen_s(&f, jpgname.c_str(), "wb");
FILE *f = fopen(jpgname.c_str(), "wb");
if(!f)
{