merge fallout: Patched to compile, fixed some compiler warnings, etc.

This commit is contained in:
Ryan C. Gordon 2018-11-01 12:31:45 -04:00
parent 62494a2e27
commit 4659e73892
6 changed files with 9 additions and 8 deletions

View file

@ -1306,7 +1306,7 @@ D3D_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *verti
IDirect3DDevice9_DrawPrimitive(data->device, D3DPT_POINTLIST, first / sizeof (Vertex), count);
} else {
const Vertex *verts = (Vertex *) (((Uint8 *) vertices) + first);
IDirect3DDevice9_DrawPrimitiveUP(data->device, D3DPT_POINTLIST, count, vertices, sizeof (Vertex));
IDirect3DDevice9_DrawPrimitiveUP(data->device, D3DPT_POINTLIST, count, verts, sizeof (Vertex));
}
break;
}