misc. remove dead code, assert macro
[vg.git] / vg_build.h
index b582d0f9f727e9171af3877ee990208444b3c3fe..7dd34b9b224f887a32e1297e68cd196ff976fb6b 100644 (file)
@@ -433,7 +433,7 @@ struct vg_engine_config
 {
    bool use_3d, legacy_support_vg_msg1, log_source_info, steam_api,
         custom_game_settings,
-        release_mode, custom_shaders;
+        custom_shaders;
    i32 fixed_update_hz;
 }
 vg_engine_default_config = {
@@ -443,7 +443,6 @@ vg_engine_default_config = {
    .log_source_info = 1,
    .steam_api = 0,
    .custom_game_settings = 0,
-   .release_mode = 0,
    .custom_shaders = 0
 };
 
@@ -462,8 +461,6 @@ void vg_add_engine( struct vg_project *proj, struct vg_engine_config *config )
       vg_strcat( &config_string, "-DVG_LOG_SOURCE_INFO \\\n" );
    if( config->custom_game_settings )
       vg_strcat( &config_string, "-DVG_GAME_SETTINGS \\\n" );
-   if( config->custom_game_settings )
-      vg_strcat( &config_string, "-DVG_RELEASE \\\n" );
    if( config->custom_shaders )
       vg_strcat( &config_string, "-DVG_CUSTOM_SHADERS \\\n" );