Pārlūkot izejas kodu

fix bug on GL_VERTEX_PROGRAM_TWO_SIDE path

tags/mesa_20090313
Brian pirms 17 gadiem
vecāks
revīzija
52da6b559a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      src/mesa/state_tracker/st_atom_rasterizer.c

+ 1
- 1
src/mesa/state_tracker/st_atom_rasterizer.c Parādīt failu

@@ -109,7 +109,7 @@ static void update_raster_state( struct st_context *st )
* GL_LIGHT_MODEL_TWO_SIDE is set) or from vertex programs (when
* GL_VERTEX_PROGRAM_TWO_SIDE is set). Note the logic here.
*/
if (ctx->VertexProgram._Enabled) {
if (ctx->VertexProgram._Current) {
raster.light_twoside = ctx->VertexProgram.TwoSideEnabled;
}
else if (ctx->Light.Enabled && ctx->Light.Model.TwoSide) {

Notiek ielāde…
Atcelt
Saglabāt