Skip to content

Commit

Permalink
WinRT: fixed a line-rendering bug in the D3D 11.1 backend
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLudwig committed Sep 16, 2013
1 parent c72a4fa commit fa45a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/direct3d11/SDL_render_d3d11.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit fa45a9c

Please sign in to comment.