remove unused local vars after the latest commits.

main
Ozkan Sezer 2021-10-25 07:05:50 +03:00
parent 502e9c3b45
commit b3f9d8f38d
2 changed files with 1 additions and 3 deletions

View File

@ -1085,7 +1085,6 @@ D3D_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *verti
const int vboidx = data->currentVertexBuffer; const int vboidx = data->currentVertexBuffer;
IDirect3DVertexBuffer9 *vbo = NULL; IDirect3DVertexBuffer9 *vbo = NULL;
const SDL_bool istarget = renderer->target != NULL; const SDL_bool istarget = renderer->target != NULL;
size_t i;
if (D3D_ActivateRenderer(renderer) < 0) { if (D3D_ActivateRenderer(renderer) < 0) {
return -1; return -1;

View File

@ -2064,7 +2064,6 @@ D3D11_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *ver
{ {
D3D11_RenderData *rendererData = (D3D11_RenderData *) renderer->driverdata; D3D11_RenderData *rendererData = (D3D11_RenderData *) renderer->driverdata;
const int viewportRotation = D3D11_GetRotationForCurrentRenderTarget(renderer); const int viewportRotation = D3D11_GetRotationForCurrentRenderTarget(renderer);
size_t i;
if (rendererData->currentViewportRotation != viewportRotation) { if (rendererData->currentViewportRotation != viewportRotation) {
rendererData->currentViewportRotation = viewportRotation; rendererData->currentViewportRotation = viewportRotation;