Home | History | Annotate | Download | only in main

Lines Matching refs:Light

34 #include "light.h"
335 if (ctx->Light.ColorMaterialEnabled == state)
339 ctx->Light.ColorMaterialEnabled = state;
386 if (ctx->Light.Light[cap-GL_LIGHT0].Enabled == state)
389 ctx->Light.Light[cap-GL_LIGHT0].Enabled = state;
391 insert_at_tail(&ctx->Light.EnabledList,
392 &ctx->Light.Light[cap-GL_LIGHT0]);
395 remove_from_list(&ctx->Light.Light[cap-GL_LIGHT0]);
401 if (ctx->Light.Enabled == state)
404 ctx->Light.Enabled = state;
405 if (ctx->Light.Enabled && ctx->Light.Model.TwoSide)
1260 return ctx->Light.ColorMaterialEnabled;
1278 return ctx->Light.Enabled;
1289 return ctx->Light.Light[cap-GL_LIGHT0].Enabled;