/* * sdl_glw.h - SDL Opengl header * * Copyright (C) 1999-2005 Id Software, Inc. * Copyright (C) 2005 Damien Thebault * * 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. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #if !( defined SDL_GLIMP ) #error You should include this file only with SDL #endif #ifndef __SDL_GLW_H__ #define __SDL_GLW_H__ typedef struct { void *OpenGLLib; // instance of OpenGL library FILE *log_fp; } glwstate_t; extern glwstate_t glw_state; #endif