haiku: Fixed compiling without OpenGL support.

This commit is contained in:
Philipp Wiesemann 2017-07-07 23:00:22 +02:00
parent 9abd5d5785
commit 10cf50a315
4 changed files with 17 additions and 3 deletions

View file

@ -22,6 +22,8 @@
#ifndef SDL_BOPENGL_H
#define SDL_BOPENGL_H
#if SDL_VIDEO_DRIVER_HAIKU && SDL_VIDEO_OPENGL
#ifdef __cplusplus
extern "C" {
#endif
@ -46,6 +48,8 @@ extern void BE_GL_RebootContexts(_THIS);
}
#endif
#endif /* SDL_VIDEO_DRIVER_HAIKU && SDL_VIDEO_OPENGL */
#endif
/* vi: set ts=4 sw=4 expandtab: */