Searched refs:permutation2D (Results 1 – 1 of 1) sorted by relevance
1178 static unsigned char permutation2D[256*256*4]; in initPermTexture() local1184 permutation2D[x*4 + y*1024] = permutation256[(y + permutation256[x]) & 0xff]; in initPermTexture()1189 glTexImage2D( GL_TEXTURE_2D, 0, GL_RGBA, 256, 256, 0, GL_RGBA, GL_UNSIGNED_BYTE, permutation2D ); in initPermTexture()
Completed in 9 milliseconds