| 1491 | } |
| 1492 | |
| 1493 | void gpu_BindTexture(int handle, int map_type, int slot) { |
| 1494 | opengl_MakeBitmapCurrent(handle, map_type, slot); |
| 1495 | opengl_MakeWrapTypeCurrent(handle, map_type, slot); |
| 1496 | opengl_MakeFilterTypeCurrent(handle, map_type, slot); |
| 1497 | } |
| 1498 | |
| 1499 | void gpu_RenderPolygon(PosColorUVVertex *vData, uint32_t nv) { |
| 1500 | dglVertexPointer(3, GL_FLOAT, sizeof(*vData), &vData->pos); |
no test coverage detected