mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 22:01:46 +00:00
[client] define GL_GLEXT_PROTOTYPES globally
This commit is contained in:
parent
61f0577ab2
commit
50c460df5a
6 changed files with 2 additions and 8 deletions
|
@ -33,6 +33,7 @@ find_package(GMP)
|
|||
add_definitions(-D BUILD_VERSION='"${BUILD_VERSION}"')
|
||||
add_definitions(-D USE_NETTLE)
|
||||
add_definitions(-D ATOMIC_LOCKING)
|
||||
add_definitions(-D GL_GLEXT_PROTOTYPES)
|
||||
|
||||
include_directories(
|
||||
${PROJECT_SOURCE_DIR}
|
||||
|
|
|
@ -26,10 +26,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
//#include <GL/glu.h>
|
||||
//#include <GL/glx.h>
|
||||
|
||||
struct Pixel
|
||||
{
|
||||
|
|
|
@ -23,7 +23,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
#include "shader.h"
|
||||
#include "texture.h"
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
|
||||
typedef struct EGL_Model EGL_Model;
|
||||
|
|
|
@ -21,7 +21,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
|
||||
typedef struct EGL_Shader EGL_Shader;
|
||||
|
@ -34,4 +33,4 @@ bool egl_shader_compile(EGL_Shader * model, const char * vertex_code, size_t ver
|
|||
void egl_shader_use (EGL_Shader * shader);
|
||||
|
||||
void egl_shader_associate_textures(EGL_Shader * shader, const int count);
|
||||
GLint egl_shader_get_uniform_location(EGL_Shader * shader, const char * name);
|
||||
GLint egl_shader_get_uniform_location(EGL_Shader * shader, const char * name);
|
|
@ -22,7 +22,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
#include <stdbool.h>
|
||||
#include "shader.h"
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
|
||||
typedef struct EGL_Texture EGL_Texture;
|
||||
|
|
|
@ -26,7 +26,6 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
|||
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glu.h>
|
||||
#include <GL/glx.h>
|
||||
|
|
Loading…
Reference in a new issue