remove unused local vars after the latest commits.
parent
502e9c3b45
commit
b3f9d8f38d
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue