(int target, int id)
| 1179 | |
| 1180 | |
| 1181 | protected boolean textureIsBound(int target, int id) { |
| 1182 | if (boundTextures == null) return false; |
| 1183 | |
| 1184 | if (target == TEXTURE_2D) { |
| 1185 | return boundTextures[activeTexUnit][0] == id; |
| 1186 | } else if (target == TEXTURE_RECTANGLE) { |
| 1187 | return boundTextures[activeTexUnit][1] == id; |
| 1188 | } else { |
| 1189 | return false; |
| 1190 | } |
| 1191 | } |
| 1192 | |
| 1193 | |
| 1194 | protected void initTexture(int target, int format, int width, int height) { |
no outgoing calls
no test coverage detected