mojoshader.c
changeset 945 f00ea3986db8
parent 944 9f9fa9650772
child 947 16af6e2b2ada
--- a/mojoshader.c	Tue Nov 09 05:00:03 2010 -0500
+++ b/mojoshader.c	Tue Nov 09 05:05:41 2010 -0500
@@ -7359,7 +7359,7 @@
     if (!isfail(ctx))
         samplers = build_samplers(ctx);
 
-    const int error_count = ctx->errors->count;
+    const int error_count = errorlist_count(ctx->errors);
     errors = errorlist_flatten(ctx->errors);
 
     if (!isfail(ctx))