src/render/direct3d/SDL_render_d3d.c
changeset 8976 1a5d959d7b32
parent 8969 7fb90df60b99
child 9074 86a6f6d92960
equal deleted inserted replaced
8975:180271d72b1e 8976:1a5d959d7b32
  1111 }
  1111 }
  1112 
  1112 
  1113 static void
  1113 static void
  1114 D3D_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture)
  1114 D3D_UnlockTexture(SDL_Renderer * renderer, SDL_Texture * texture)
  1115 {
  1115 {
  1116     D3D_RenderData *data = (D3D_RenderData *)renderer->driverdata;
  1116     /*D3D_RenderData *data = (D3D_RenderData *)renderer->driverdata;*/
  1117     D3D_TextureData *texturedata = (D3D_TextureData *)texture->driverdata;
  1117     D3D_TextureData *texturedata = (D3D_TextureData *)texture->driverdata;
  1118 
  1118 
  1119     if (!texturedata) {
  1119     if (!texturedata) {
  1120         return;
  1120         return;
  1121     }
  1121     }