diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/EGL/eglplatform.h | 2 | ||||
-rw-r--r-- | include/GL/gl.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/EGL/eglplatform.h b/include/EGL/eglplatform.h index 005b2944404..e4aa0994be9 100644 --- a/include/EGL/eglplatform.h +++ b/include/EGL/eglplatform.h @@ -80,7 +80,7 @@ typedef void *EGLNativePixmapType; #elif defined(WL_EGL_PLATFORM) -typedef struct wl_egl_display *EGLNativeDisplayType; +typedef struct wl_display *EGLNativeDisplayType; typedef struct wl_egl_pixmap *EGLNativePixmapType; typedef struct wl_egl_window *EGLNativeWindowType; diff --git a/include/GL/gl.h b/include/GL/gl.h index 8e5f1383ffa..bca550fa2d4 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -655,6 +655,8 @@ typedef double GLclampd; /* double precision float in [0,1] */ #define GL_TEXTURE_ENV_COLOR 0x2201 #define GL_TEXTURE_GEN_S 0x0C60 #define GL_TEXTURE_GEN_T 0x0C61 +#define GL_TEXTURE_GEN_R 0x0C62 +#define GL_TEXTURE_GEN_Q 0x0C63 #define GL_TEXTURE_GEN_MODE 0x2500 #define GL_TEXTURE_BORDER_COLOR 0x1004 #define GL_TEXTURE_WIDTH 0x1000 @@ -685,8 +687,6 @@ typedef double GLclampd; /* double precision float in [0,1] */ #define GL_T 0x2001 #define GL_R 0x2002 #define GL_Q 0x2003 -#define GL_TEXTURE_GEN_R 0x0C62 -#define GL_TEXTURE_GEN_Q 0x0C63 /* Utility */ #define GL_VENDOR 0x1F00 |