Searched refs:lightNum (Results 1 – 1 of 1) sorted by relevance
341 long lightNum = msg->FindInt32("num"); in MessageReceived() local353 glEnable(GL_LIGHT0 + lightNum - 1); in MessageReceived()354 glLightfv(GL_LIGHT0 + lightNum - 1, GL_SPECULAR, in MessageReceived()356 glLightfv(GL_LIGHT0 + lightNum - 1, GL_DIFFUSE, in MessageReceived()358 glLightfv(GL_LIGHT0 + lightNum - 1, GL_AMBIENT, in MessageReceived()361 glDisable(GL_LIGHT0 + lightNum - 1); in MessageReceived()