Commit 6a025512 authored by Brian Paul's avatar Brian Paul

swrast: init alpha value to 1.0 in opt_sample_rgb_2d()

parent 9aa089ea
......@@ -1371,6 +1371,7 @@ opt_sample_rgb_2d(struct gl_context *ctx,
rgba[k][RCOMP] = UBYTE_TO_FLOAT(texel[2]);
rgba[k][GCOMP] = UBYTE_TO_FLOAT(texel[1]);
rgba[k][BCOMP] = UBYTE_TO_FLOAT(texel[0]);
rgba[k][ACOMP] = 1.0F;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment