src/video/haiku/SDL_bevents.cc
author Alex Szpakowski <slime73@gmail.com>
Sun, 26 May 2019 18:53:36 -0300
changeset 12757 96bca5da4965
parent 12503 806492103856
permissions -rw-r--r--
iOS: return SDL_GetWindowSize from SDL_GL_GetDrawableSize if there's no GLES view in the window (matches the behaviour of SDL_GL_GetDrawableSize on other platforms). Addresses bug #4629.
nathanheisey@5921
     1
/*
nathanheisey@5921
     2
  Simple DirectMedia Layer
slouken@12503
     3
  Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org>
nathanheisey@5921
     4
nathanheisey@5921
     5
  This software is provided 'as-is', without any express or implied
nathanheisey@5921
     6
  warranty.  In no event will the authors be held liable for any damages
nathanheisey@5921
     7
  arising from the use of this software.
nathanheisey@5921
     8
nathanheisey@5921
     9
  Permission is granted to anyone to use this software for any purpose,
nathanheisey@5921
    10
  including commercial applications, and to alter it and redistribute it
nathanheisey@5921
    11
  freely, subject to the following restrictions:
nathanheisey@5921
    12
nathanheisey@5921
    13
  1. The origin of this software must not be misrepresented; you must not
nathanheisey@5921
    14
     claim that you wrote the original software. If you use this software
nathanheisey@5921
    15
     in a product, an acknowledgment in the product documentation would be
nathanheisey@5921
    16
     appreciated but is not required.
nathanheisey@5921
    17
  2. Altered source versions must be plainly marked as such, and must not be
nathanheisey@5921
    18
     misrepresented as being the original software.
nathanheisey@5921
    19
  3. This notice may not be removed or altered from any source distribution.
nathanheisey@5921
    20
*/
icculus@8093
    21
#include "../../SDL_internal.h"
slouken@6044
    22
icculus@7981
    23
#if SDL_VIDEO_DRIVER_HAIKU
nathanheisey@5921
    24
nathanheisey@5921
    25
#include "SDL_bevents.h"
nathanheisey@5921
    26
nathanheisey@5921
    27
#ifdef __cplusplus
nathanheisey@5921
    28
extern "C" {
nathanheisey@5921
    29
#endif
nathanheisey@5921
    30
icculus@12082
    31
void HAIKU_PumpEvents(_THIS) {
slouken@12201
    32
    /* Since the event thread is its own thread, this isn't really necessary */
nathanheisey@5921
    33
}
nathanheisey@5921
    34
nathanheisey@5921
    35
#ifdef __cplusplus
nathanheisey@5921
    36
}
nathanheisey@5921
    37
#endif
slouken@6044
    38
icculus@7981
    39
#endif /* SDL_VIDEO_DRIVER_HAIKU */
slouken@10690
    40
slouken@10690
    41
/* vi: set ts=4 sw=4 expandtab: */