diff --git a/src/NintendoSDK/gfx/detail/gfx_GlslcFunction.cpp b/src/NintendoSDK/gfx/detail/gfx_GlslcFunction.cpp index 45396db5..6524a281 100644 --- a/src/NintendoSDK/gfx/detail/gfx_GlslcFunction.cpp +++ b/src/NintendoSDK/gfx/detail/gfx_GlslcFunction.cpp @@ -1,5 +1,6 @@ #include +extern "C" { bool glslcCompile(GLSLCcompileObject*); const GLSLCoutput* const* glslcCompilePreSpecialized(GLSLCcompileObject*, const GLSLCspecializationBatch*); @@ -9,6 +10,7 @@ uint8_t glslcGetDefaultOptions(GLSLCcompileObject*); GLSLCversion glslcGetVersion(); void glslcInitialize(GLSLCallocateFunction, GLSLCfreeFunction, GLSLCreallocateFunction, void*); GLSLCoptions glslcSetAllocator(); +} namespace nn::gfx::detail { typedef bool (*GlslcCompilePreSpecializedType)(GLSLCcompileObject*); @@ -54,4 +56,4 @@ GlslcGetDefaultOptionsType GetGlslcGetDefaultOptionsFunction() { return glslcSetAllocator; } -} // namespace nn::gfx::detail \ No newline at end of file +} // namespace nn::gfx::detail