src/video/x11/SDL_x11framebuffer.h
changeset 12366 c46e72bd9950
parent 11811 5d94cb6b24d3
child 12503 806492103856
equal deleted inserted replaced
12365:09e3ef028bc8 12366:c46e72bd9950
    16      appreciated but is not required.
    16      appreciated but is not required.
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
       
    21 
       
    22 #ifndef SDL_x11framebuffer_h_
       
    23 #define SDL_x11framebuffer_h_
       
    24 
    21 #include "../../SDL_internal.h"
    25 #include "../../SDL_internal.h"
    22 
    26 
    23 
    27 
    24 extern int X11_CreateWindowFramebuffer(_THIS, SDL_Window * window,
    28 extern int X11_CreateWindowFramebuffer(_THIS, SDL_Window * window,
    25                                        Uint32 * format,
    29                                        Uint32 * format,
    26                                        void ** pixels, int *pitch);
    30                                        void ** pixels, int *pitch);
    27 extern int X11_UpdateWindowFramebuffer(_THIS, SDL_Window * window,
    31 extern int X11_UpdateWindowFramebuffer(_THIS, SDL_Window * window,
    28                                        const SDL_Rect * rects, int numrects);
    32                                        const SDL_Rect * rects, int numrects);
    29 extern void X11_DestroyWindowFramebuffer(_THIS, SDL_Window * window);
    33 extern void X11_DestroyWindowFramebuffer(_THIS, SDL_Window * window);
    30 
    34 
       
    35 #endif /* SDL_x11framebuffer_h_ */
       
    36 
    31 /* vi: set ts=4 sw=4 expandtab: */
    37 /* vi: set ts=4 sw=4 expandtab: */