src/video/android/SDL_androidgl.h
author Sylvain Becker <sylvain.becker@gmail.com>
Thu, 03 Jan 2019 16:22:33 +0100
changeset 12497 9e13f3286831
parent 11811 5d94cb6b24d3
child 12503 806492103856
permissions -rw-r--r--
Android: prevent the error message from SDL_EGL_CreateSurface() to be masked.
slouken@10672
     1
/*
slouken@10672
     2
  Simple DirectMedia Layer
slouken@11811
     3
  Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
slouken@10672
     4
slouken@10672
     5
  This software is provided 'as-is', without any express or implied
slouken@10672
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@10672
     7
  arising from the use of this software.
slouken@10672
     8
slouken@10672
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@10672
    10
  including commercial applications, and to alter it and redistribute it
slouken@10672
    11
  freely, subject to the following restrictions:
slouken@10672
    12
slouken@10672
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@10672
    14
     claim that you wrote the original software. If you use this software
slouken@10672
    15
     in a product, an acknowledgment in the product documentation would be
slouken@10672
    16
     appreciated but is not required.
slouken@10672
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@10672
    18
     misrepresented as being the original software.
slouken@10672
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@10672
    20
*/
slouken@10672
    21
#include "../../SDL_internal.h"
slouken@10672
    22
slouken@11382
    23
#ifndef SDL_androidgl_h_
slouken@11382
    24
#define SDL_androidgl_h_
slouken@10672
    25
slouken@10672
    26
SDL_GLContext Android_GLES_CreateContext(_THIS, SDL_Window * window);
slouken@10672
    27
int Android_GLES_MakeCurrent(_THIS, SDL_Window * window, SDL_GLContext context);
slouken@10695
    28
int Android_GLES_SwapWindow(_THIS, SDL_Window * window);
slouken@10672
    29
int Android_GLES_LoadLibrary(_THIS, const char *path);
slouken@10672
    30
slouken@10672
    31
slouken@11382
    32
#endif /* SDL_androidgl_h_ */
slouken@10672
    33
slouken@10672
    34
/* vi: set ts=4 sw=4 expandtab: */