mirror of https://github.com/encounter/SDL.git
WinRT: fixed a line-rendering bug in the D3D 11.1 backend
This commit is contained in:
parent
c72a4fa311
commit
fa45a9c953
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue