#ifndef VG_PLATFORM_H
#define VG_PLATFORM_H
-#include "vg.h"
+//#include "vg.h"
#include "vg_stdint.h"
/* Copyright (C) 2021-2022 Harry Godden (hgn) - All Rights Reserved */
}
}
-VG_STATIC void vg_fatal_exit_loop( const char *error );
-VG_STATIC void vg_required( void *ptr, const char *path )
-{
- if( !ptr )
- {
- vg_fatal_exit_loop( path );
- }
-}
-
#define VG_REQUIRED_ASSET( TYPE, DECL, FN, PATH, ... ) \
TYPE DECL = FN( PATH,##__VA_ARGS__ ); \
vg_required( DECL, "Resource is required but failed to load: '" PATH "'" );