src/video/SDL_sysvideo.h
branchSDL-1.3
changeset 1678 90bf530ced8e
parent 1677 5e4c5e095925
child 1680 9488fca10677
equal deleted inserted replaced
1677:5e4c5e095925 1678:90bf530ced8e
    65 
    65 
    66 /* Define the SDL renderer structure */
    66 /* Define the SDL renderer structure */
    67 struct SDL_Renderer
    67 struct SDL_Renderer
    68 {
    68 {
    69     int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
    69     int (*CreateTexture) (SDL_Renderer * renderer, SDL_Texture * texture);
       
    70     int (*QueryTexturePixels) (SDL_Renderer * renderer, SDL_Texture * texture,
       
    71                                void **pixels, int *pitch);
    70     int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    72     int (*UpdateTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    71                           SDL_Rect * rect, const void *pixels, int pitch);
    73                           SDL_Rect * rect, const void *pixels, int pitch);
    72     int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    74     int (*LockTexture) (SDL_Renderer * renderer, SDL_Texture * texture,
    73                         SDL_Rect * rect, int markDirty, void **pixels,
    75                         SDL_Rect * rect, int markDirty, void **pixels,
    74                         int *pitch);
    76                         int *pitch);