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)
| 1283 | * Not an approved function, this will change or be removed in the future. |
| 1284 | */ |
| 1285 | public void drawTexture(int target, int id, int width, int height, |
| 1286 | int X0, int Y0, int X1, int Y1) { |
| 1287 | // If a texture is drawing on a viewport of the same size as its resolution, |
| 1288 | // the pixel factor is 1:1, so we override the surface's pixel factor. |
| 1289 | drawTexture(target, id, width, height, |
| 1290 | 0, 0, width, height, 1, |
| 1291 | X0, Y0, X1, Y1, |
| 1292 | X0, Y0, X1, Y1); |
| 1293 | } |
| 1294 | |
| 1295 | |
| 1296 | /** |
no test coverage detected