From be17814849815602e9e42a761ca6120548fbb04c Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 25 Apr 2016 02:51:45 -0400 Subject: [PATCH] Fixed some typos. --- mojoshader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mojoshader.c b/mojoshader.c index 90f0cf9e..e4ab2b90 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -2351,7 +2351,7 @@ static void emit_GLSL_array(Context *ctx, VariableList *var) { // All uniforms (except constant arrays, which only get pushed once at // compile time) are now packed into a single array, so we can batch - // the uniform transfers. So this is doesn't actually define an array + // the uniform transfers. So this doesn't actually define an array // here; the one, big array is emitted during finalization instead. // However, we need to #define the offset into the one, big array here, // and let dereferences use that #define. @@ -2676,7 +2676,7 @@ static void emit_GLSL_attribute(Context *ctx, RegisterType regtype, int regnum, if (usage == MOJOSHADER_USAGE_TEXCOORD) { // ps_1_1 does a different hack for this attribute. - // Refer to emit_GLSL_global()'s REG_TYPE_TEXTURE code. + // Refer to emit_GLSL_global()'s REG_TYPE_ADDRESS code. if (shader_version_atleast(ctx, 1, 4)) { snprintf(index_str, sizeof (index_str), "%u", (uint) index);