2021-01-27 00:10:50 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
|
|
|
|
#define OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
|
|
|
|
#ifdef OPENMW_GL4ES_MANUAL_INIT
|
|
|
|
#include <SDL_video.h>
|
|
|
|
|
|
|
|
// Must be called once SDL video mode has been set,
|
|
|
|
// which creates a context.
|
|
|
|
//
|
|
|
|
// GL4ES can then query the context for features and extensions.
|
2022-09-22 18:26:05 +00:00
|
|
|
extern "C" void openmw_gl4es_init(SDL_Window* window);
|
2021-01-27 00:10:50 +00:00
|
|
|
|
2022-09-22 18:26:05 +00:00
|
|
|
#endif // OPENMW_GL4ES_MANUAL_INIT
|
|
|
|
#endif // OPENMW_COMPONENTS_SDLUTIL_GL4ES_INIT_H
|