Fixed building sampler data twice.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 02 Feb 2009 21:31:40 -0500
changeset 534 58fb339eff76
parent 533 177b9242d08a
child 535 dfe0e7965f1f
Fixed building sampler data twice.
mojoshader.c
--- a/mojoshader.c	Mon Feb 02 16:13:27 2009 -0500
+++ b/mojoshader.c	Mon Feb 02 21:31:40 2009 -0500
@@ -7148,9 +7148,6 @@
         samplers = build_samplers(ctx);
 
     if (!isfail(ctx))
-        samplers = build_samplers(ctx);
-
-    if (!isfail(ctx))
     {
         if (ctx->swizzles_count > 0)
         {