2014-03-15 16:59:03 +00:00
|
|
|
// Emacs style mode select -*- C++ -*-
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//
|
|
|
|
// Copyright (C) 1998-2000 by DooM Legacy Team.
|
2022-03-03 19:24:46 +00:00
|
|
|
// Copyright (C) 2014-2022 by Sonic Team Junior.
|
2014-03-15 16:59:03 +00:00
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License
|
|
|
|
// as published by the Free Software Foundation; either version 2
|
|
|
|
// of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
/// \file
|
|
|
|
/// \brief SDL specific part of the OpenGL API for SRB2
|
|
|
|
|
|
|
|
#include "../v_video.h"
|
|
|
|
|
|
|
|
extern void *GLUhandle;
|
|
|
|
|
2014-07-26 07:06:00 +00:00
|
|
|
boolean OglSdlSurface(INT32 w, INT32 h);
|
2014-03-15 16:59:03 +00:00
|
|
|
|
|
|
|
void OglSdlFinishUpdate(boolean vidwait);
|
|
|
|
|
2014-07-26 07:06:00 +00:00
|
|
|
extern SDL_Renderer *renderer;
|
|
|
|
extern SDL_GLContext sdlglcontext;
|
2014-11-14 00:06:38 +00:00
|
|
|
extern Uint16 realwidth;
|
|
|
|
extern Uint16 realheight;
|
2014-07-26 07:06:00 +00:00
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
#ifdef _CREATE_DLL_
|
2019-12-09 01:12:56 +00:00
|
|
|
EXPORT void HWRAPI( OglSdlSetPalette ) (RGBA_t *palette);
|
2014-03-15 16:59:03 +00:00
|
|
|
#endif
|