idk just screwing around credits lactozilla https://git.srb2.org/Lactozilla/SRB2/-/commit/8df6702bfc0cf9d7f9cdc2470b939d01ee37d50b
27 lines
824 B
C
27 lines
824 B
C
// SONIC ROBO BLAST 2
|
|
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2020 by Jaime "Lactozilla" Passos.
|
|
//
|
|
// This program is free software distributed under the
|
|
// terms of the GNU General Public License, version 2.
|
|
// See the 'LICENSE' file for more details.
|
|
//-----------------------------------------------------------------------------
|
|
/// \file hw_gpu.c
|
|
/// \brief GPU low-level interface API
|
|
|
|
#ifdef HWRENDER
|
|
|
|
#include "r_opengl/r_opengl.h"
|
|
|
|
// ==========================================================================
|
|
// the hardware driver object
|
|
// ==========================================================================
|
|
struct GPURenderingAPI *GPU = NULL;
|
|
|
|
void GPUInterface_Load(struct GPURenderingAPI **api)
|
|
{
|
|
*api = &GLInterfaceAPI;
|
|
}
|
|
|
|
#endif // HWRENDER
|