Lines Matching refs:Light
142 attr->ColorMaterial = ctx->Light.ColorMaterialEnabled;
150 attr->Light[i] = ctx->Light.Light[i].Enabled;
152 attr->Lighting = ctx->Light.Enabled;
222 memcpy(&head->Light, &ctx->Light, sizeof(head->Light));
358 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled, enable->ColorMaterial,
376 TEST_AND_UPDATE(ctx->Light.Enabled, enable->Lighting, GL_LIGHTING);
881 TEST_AND_UPDATE(ctx->Light.Enabled, attr->Light.Enabled, GL_LIGHTING);
889 memcpy(ctx->Light.LightSource, attr->Light.LightSource,
890 sizeof(attr->Light.LightSource));
891 memcpy(&ctx->Light.Model, &attr->Light.Model,
892 sizeof(attr->Light.Model));
895 TEST_AND_UPDATE(ctx->Light.Light[i].Enabled,
896 attr->Light.Light[i].Enabled,
898 memcpy(&ctx->Light.Light[i], &attr->Light.Light[i],
902 TEST_AND_CALL1(Light.ShadeModel, ShadeModel);
904 TEST_AND_CALL2(Light.ColorMaterialFace, Light.ColorMaterialMode,
906 TEST_AND_UPDATE(ctx->Light.ColorMaterialEnabled,
907 attr->Light.ColorMaterialEnabled, GL_COLOR_MATERIAL);
910 memcpy(&ctx->Light.Material, &attr->Light.Material,
913 TEST_AND_CALL1_SEL(Light.ClampVertexColor, ClampColor, GL_CLAMP_VERTEX_COLOR_ARB);