mojoshader_effects.h
changeset 1270 fb28ba997299
parent 1245 ad9a16c8b023
--- a/mojoshader_effects.h	Thu Jun 25 10:10:52 2020 -0400
+++ b/mojoshader_effects.h	Thu Jun 25 10:35:29 2020 -0400
@@ -506,6 +506,7 @@
     float **psf, int **psi, unsigned char **psb
 );
 typedef void (MOJOSHADERCALL * MOJOSHADER_unmapUniformBufferMemoryFunc)();
+typedef const char* (MOJOSHADERCALL * MOJOSHADER_getErrorFunc)();
 
 typedef struct MOJOSHADER_effectShaderContext
 {
@@ -518,6 +519,7 @@
     MOJOSHADER_getBoundShadersFunc getBoundShaders;
     MOJOSHADER_mapUniformBufferMemoryFunc mapUniformBufferMemory;
     MOJOSHADER_unmapUniformBufferMemoryFunc unmapUniformBufferMemory;
+    MOJOSHADER_getErrorFunc getError;
 
     /* Allocator */
     MOJOSHADER_malloc m;