GPUShader: Fix linking with MSVC

This commit is contained in:
Clément Foucault
2020-07-29 16:07:51 +02:00
parent f0687d4665
commit b9c7c904ed

View File

@@ -44,7 +44,7 @@
#include "gpu_shader_private.h"
extern char datatoc_gpu_shader_colorspace_lib_glsl[];
extern "C" char datatoc_gpu_shader_colorspace_lib_glsl[];
/* Adjust these constants as needed. */
#define MAX_DEFINE_LENGTH 256