From 796f2e243256fdbad09c98cd1998be22f76d0ce5 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 2 Feb 2009 21:31:40 -0500 Subject: [PATCH] Fixed building sampler data twice. --- mojoshader.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mojoshader.c b/mojoshader.c index 97c79d07..9103f884 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -7147,9 +7147,6 @@ static MOJOSHADER_parseData *build_parsedata(Context *ctx) if (!isfail(ctx)) samplers = build_samplers(ctx); - if (!isfail(ctx)) - samplers = build_samplers(ctx); - if (!isfail(ctx)) { if (ctx->swizzles_count > 0)