Changeset View
Changeset View
Standalone View
Standalone View
source/blender/render/intern/source/external_engine.c
| Context not available. | |||||
| static RenderEngineType internal_render_type = { | static RenderEngineType internal_render_type = { | ||||
| NULL, NULL, | NULL, NULL, | ||||
| "BLENDER_RENDER", N_("Blender Render"), RE_INTERNAL, | "BLENDER_RENDER", N_("Blender Render"), RE_INTERNAL, | ||||
| NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||||
| {NULL, NULL, NULL} | {NULL, NULL, NULL} | ||||
| }; | }; | ||||
| Context not available. | |||||
| static RenderEngineType internal_game_type = { | static RenderEngineType internal_game_type = { | ||||
| NULL, NULL, | NULL, NULL, | ||||
| "BLENDER_GAME", N_("Blender Game"), RE_INTERNAL | RE_GAME, | "BLENDER_GAME", N_("Blender Game"), RE_INTERNAL | RE_GAME, | ||||
| NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, | ||||
| {NULL, NULL, NULL} | {NULL, NULL, NULL} | ||||
| }; | }; | ||||
| Context not available. | |||||
| BLI_remlink(&R_engines, type); | BLI_remlink(&R_engines, type); | ||||
| if (type->gpu_lib) | |||||
| BLI_ghash_free(type->gpu_lib, NULL, MEM_freeN); | |||||
| if (type->gpu_lib_text) | |||||
| MEM_freeN(type->gpu_lib_text); | |||||
| if (!(type->flag & RE_INTERNAL)) { | if (!(type->flag & RE_INTERNAL)) { | ||||
| if (type->ext.free) | if (type->ext.free) | ||||
| type->ext.free(type->ext.data); | type->ext.free(type->ext.data); | ||||
| Context not available. | |||||