… | |
… | |
1097 | tex->r = r; |
1097 | tex->r = r; |
1098 | tex->g = g; |
1098 | tex->g = g; |
1099 | tex->b = b; |
1099 | tex->b = b; |
1100 | tex->a = a; |
1100 | tex->a = a; |
1101 | } |
1101 | } |
|
|
1102 | |
|
|
1103 | // somewhat hackish, but for textures that require it, it really |
|
|
1104 | // improves the look, and most others don't suffer. |
|
|
1105 | glBindTexture (GL_TEXTURE_2D, name); |
|
|
1106 | glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT); |
|
|
1107 | glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT); |
1102 | } |
1108 | } |
1103 | |
1109 | |
1104 | int |
1110 | int |
1105 | ox (CFClient::Map self) |
1111 | ox (CFClient::Map self) |
1106 | ALIAS: |
1112 | ALIAS: |