[Dev-C++] SDL_opengl.h on Dev-C++ 4.9.6.0
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: /KY <cru...@in...> - 2002-11-10 11:40:00
|
If I try to compile the following header: #include <SDL/SDL.h> #include <SDL/SDL_opengl.h> (without any additional includes) using Dev-C++ 4.9.6.0, I obtain the following error: In file included from test.h:4, SDL/SDL_opengl.h:2154: redefinition of `PFNGLCOLORSUBTABLEEXTPROC' GL/gl.h:1493: `PFNGLCOLORSUBTABLEEXTPROC' previously declared here It works well if I use #define NO_SDL_GLEXT #include <SDL/SDL.h> #include <SDL/SDL_opengl.h> |