#include <libguile.h>
#include "material-types.h"
-
using namespace irr;
-
video::E_MATERIAL_TYPE
scm_to_material_type (SCM material_type)
{
- char* type = scm_to_utf8_stringn (scm_symbol_to_string (material_type), NULL);
+ char* type = scm_to_utf8_string (scm_symbol_to_string (material_type));
if (!strcmp (type, "solid"))
{
return video::EMT_SOLID;