yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
1b539d890
master
1#define _CRT_SECURE_NO_WARNINGS 2#include "../stacktrace-windows/common.h" 3 4#include <stdio.h> 5#include <stdlib.h> 6#include <windows.h> 7 8extern int exampleMain (int argc ,char ** argv ); 9extern const char * const g_logFileName ; 10 11int WinMain ( 12HINSTANCE /* instance */ , 13HINSTANCE /* prevInstance */ , 14LPSTR /* commandLine */ , 15int /*showCommand*/ ) 16 17{ 18FILE * logFile = fopen (g_logFileName ,"w" ); 19 __try 20 { 21int argc = 0 ; 22char ** argv = nullptr ; 23return exampleMain (argc ,argv ); 24 } 25 __except (exceptionFilter (logFile ,GetExceptionInformation ())) 26 { 27 ::exit (1 ); 28 } 29}