haiku: Fixed compiling without OpenGL support.
This commit is contained in:
parent
9abd5d5785
commit
10cf50a315
4 changed files with 17 additions and 3 deletions
|
@ -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: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue