src/render/direct3d/SDL_d3drender.c
changeset 5157 657543cc92f9
parent 5156 307ccc9c135e
child 5166 4d39eeaad00b
     1.1 --- a/src/render/direct3d/SDL_d3drender.c	Thu Feb 03 00:19:40 2011 -0800
     1.2 +++ b/src/render/direct3d/SDL_d3drender.c	Thu Feb 03 00:22:18 2011 -0800
     1.3 @@ -115,8 +115,6 @@
     1.4                            const SDL_Rect * srcrect, const SDL_Rect * dstrect);
     1.5  static int D3D_RenderReadPixels(SDL_Renderer * renderer, const SDL_Rect * rect,
     1.6                                  Uint32 format, void * pixels, int pitch);
     1.7 -static int D3D_RenderWritePixels(SDL_Renderer * renderer, const SDL_Rect * rect,
     1.8 -                                 Uint32 format, const void * pixels, int pitch);
     1.9  static void D3D_RenderPresent(SDL_Renderer * renderer);
    1.10  static void D3D_DestroyTexture(SDL_Renderer * renderer,
    1.11                                 SDL_Texture * texture);
    1.12 @@ -325,7 +323,6 @@
    1.13      renderer->RenderFillRects = D3D_RenderFillRects;
    1.14      renderer->RenderCopy = D3D_RenderCopy;
    1.15      renderer->RenderReadPixels = D3D_RenderReadPixels;
    1.16 -    renderer->RenderWritePixels = D3D_RenderWritePixels;
    1.17      renderer->RenderPresent = D3D_RenderPresent;
    1.18      renderer->DestroyTexture = D3D_DestroyTexture;
    1.19      renderer->DestroyRenderer = D3D_DestroyRenderer;
    1.20 @@ -1021,15 +1018,6 @@
    1.21      return 0;
    1.22  }
    1.23  
    1.24 -static int
    1.25 -D3D_RenderWritePixels(SDL_Renderer * renderer, const SDL_Rect * rect,
    1.26 -                      Uint32 format, const void * pixels, int pitch)
    1.27 -{
    1.28 -    /* Work in progress */
    1.29 -    SDL_Unsupported();
    1.30 -    return -1;
    1.31 -}
    1.32 -
    1.33  static void
    1.34  D3D_RenderPresent(SDL_Renderer * renderer)
    1.35  {