quote:some things as I am new to these boards.
glPushMatrix();
CreateCubeB(-1,1,-1,1,0);
glPopMatrix();
glEnd();
if (B32Click == true)
glBindTexture(GL_TEXTURE_2D, g_Texture[6]);
else
glBindTexture(GL_TEXTURE_2D, g_Texture[1]);
glLoadName(B32);