Преглед изворни кода

mesa: added comment about gl_PointCoord

tags/mesa_7_1_rc4
Brian Paul пре 17 година
родитељ
комит
3a428aca93
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      src/mesa/swrast/s_fragprog.c

+ 1
- 0
src/mesa/swrast/s_fragprog.c Прегледај датотеку

@@ -129,6 +129,7 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine,
if (ctx->Shader.CurrentProgram) {
/* Store front/back facing value in register FOGC.Y */
machine->Attribs[FRAG_ATTRIB_FOGC][col][1] = 1.0 - span->facing;
/* Note FOGC.ZW is gl_PointCoord if drawing a sprite */
}

machine->CurElement = col;

Loading…
Откажи
Сачувај