Linux compile fixes

This commit is contained in:
baldurk
2015-12-18 16:52:44 +01:00
parent a3bf43c852
commit 290b695a6b
23 changed files with 186 additions and 180 deletions
+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)
{