Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Whoops, removed wrong variable.

  • Loading branch information
icculus committed Aug 24, 2012
1 parent fdbbf30 commit ccd38db1704245c44b0325ac57f7b6d456cfbde7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/render/direct3d/SDL_render_d3d.c
@@ -681,6 +681,7 @@ GetScaleQuality(void)
static int
D3D_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
{
D3D_RenderData *renderdata = (D3D_RenderData *) renderer->driverdata;
D3D_TextureData *data;
D3DPOOL pool;
DWORD usage;
@@ -728,7 +729,6 @@ D3D_UpdateTexture(SDL_Renderer * renderer, SDL_Texture * texture,
const SDL_Rect * rect, const void *pixels, int pitch)
{
D3D_TextureData *data = (D3D_TextureData *) texture->driverdata;
D3D_RenderData *renderdata = (D3D_RenderData *) renderer->driverdata;
RECT d3drect;
D3DLOCKED_RECT locked;
const Uint8 *src;

0 comments on commit ccd38db

Please sign in to comment.