Not an approved function, this will change or be removed in the future.
(int target, int id, int width, int height,
int X0, int Y0, int X1, int Y1)
| 1240 | * Not an approved function, this will change or be removed in the future. |
| 1241 | */ |
| 1242 | public void drawTexture(int target, int id, int width, int height, |
| 1243 | int X0, int Y0, int X1, int Y1) { |
| 1244 | // If a texture is drawing on a viewport of the same size as its resolution, |
| 1245 | // the pixel factor is 1:1, so we override the surface's pixel factor. |
| 1246 | drawTexture(target, id, width, height, |
| 1247 | 0, 0, width, height, 1, |
| 1248 | X0, Y0, X1, Y1, |
| 1249 | X0, Y0, X1, Y1); |
| 1250 | } |
| 1251 | |
| 1252 | |
| 1253 | /** |
no test coverage detected