WinRT: fixed a line-rendering bug in the D3D 11.1 backend

This commit is contained in:
David Ludwig 2013-09-16 00:31:01 -04:00
parent c72a4fa311
commit fa45a9c953

View File

@ -1539,7 +1539,7 @@ D3D11_RenderDrawLines(SDL_Renderer * renderer,
D3D11_RenderStartDrawOp(renderer);
D3D11_RenderSetBlendMode(renderer, renderer->blendMode);
if (D3D11_UpdateVertexBuffer(renderer,&vertices, (unsigned int)count * sizeof(VertexPositionColor)) != 0) {
if (D3D11_UpdateVertexBuffer(renderer, vertices, (unsigned int)count * sizeof(VertexPositionColor)) != 0) {
SDL_stack_free(vertices);
return -1;
}