src/video/haiku/SDL_bvideo.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 09 Dec 2016 01:47:43 -0800
changeset 10690 23a825f341e6
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
permissions -rw-r--r--
Fixed bug 3513 - SDL_GL_SwapWindow does not return error status

Return an error code from SDL_GL_SwapWindow(), like the other SDL APIs.
nathanheisey@5916
     1
/*
nathanheisey@5916
     2
  Simple DirectMedia Layer
slouken@9998
     3
  Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org>
nathanheisey@5916
     4
nathanheisey@5916
     5
  This software is provided 'as-is', without any express or implied
nathanheisey@5916
     6
  warranty.  In no event will the authors be held liable for any damages
nathanheisey@5916
     7
  arising from the use of this software.
nathanheisey@5916
     8
nathanheisey@5916
     9
  Permission is granted to anyone to use this software for any purpose,
nathanheisey@5916
    10
  including commercial applications, and to alter it and redistribute it
nathanheisey@5916
    11
  freely, subject to the following restrictions:
nathanheisey@5916
    12
nathanheisey@5916
    13
  1. The origin of this software must not be misrepresented; you must not
nathanheisey@5916
    14
     claim that you wrote the original software. If you use this software
nathanheisey@5916
    15
     in a product, an acknowledgment in the product documentation would be
nathanheisey@5916
    16
     appreciated but is not required.
nathanheisey@5916
    17
  2. Altered source versions must be plainly marked as such, and must not be
nathanheisey@5916
    18
     misrepresented as being the original software.
nathanheisey@5916
    19
  3. This notice may not be removed or altered from any source distribution.
nathanheisey@5916
    20
*/
nathanheisey@5916
    21
nathanheisey@5916
    22
#ifndef BVIDEO_H
nathanheisey@5916
    23
#define BVIDEO_H
nathanheisey@5916
    24
nathanheisey@5916
    25
#ifdef __cplusplus
nathanheisey@5916
    26
extern "C" {
nathanheisey@5916
    27
#endif
nathanheisey@5916
    28
icculus@7981
    29
#include "../../main/haiku/SDL_BeApp.h"
nathanheisey@5916
    30
#include "../SDL_sysvideo.h"
nathanheisey@5916
    31
nathanheisey@5916
    32
nathanheisey@5916
    33
extern void BE_VideoQuit(_THIS);
nathanheisey@5916
    34
extern int BE_VideoInit(_THIS);
nathanheisey@5916
    35
extern void BE_DeleteDevice(_THIS);
nathanheisey@5921
    36
extern int BE_Available(void);
nathanheisey@5916
    37
nathanheisey@5916
    38
#ifdef __cplusplus
nathanheisey@5916
    39
}
nathanheisey@5916
    40
#endif
nathanheisey@5916
    41
nathanheisey@5916
    42
#endif
slouken@10690
    43
slouken@10690
    44
/* vi: set ts=4 sw=4 expandtab: */