Move EGL define to egl.h from window texture .c
This commit is contained in:
parent
4e59a9b4b6
commit
5c714ea714
@ -43,6 +43,7 @@ typedef void (*__eglMustCastToProperFunctionPointerType)(void);
|
|||||||
#define EGL_GL_TEXTURE_2D 0x30B1
|
#define EGL_GL_TEXTURE_2D 0x30B1
|
||||||
#define EGL_TRUE 1
|
#define EGL_TRUE 1
|
||||||
#define EGL_IMAGE_PRESERVED_KHR 0x30D2
|
#define EGL_IMAGE_PRESERVED_KHR 0x30D2
|
||||||
|
#define EGL_NATIVE_PIXMAP_KHR 0x30B0
|
||||||
|
|
||||||
#define GL_TEXTURE_2D 0x0DE1
|
#define GL_TEXTURE_2D 0x0DE1
|
||||||
#define GL_RGB 0x1907
|
#define GL_RGB 0x1907
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
#include "../include/window_texture.h"
|
#include "../include/window_texture.h"
|
||||||
#include <X11/extensions/Xcomposite.h>
|
#include <X11/extensions/Xcomposite.h>
|
||||||
|
|
||||||
#define EGL_TRUE 1
|
|
||||||
#define EGL_IMAGE_PRESERVED_KHR 0x30D2
|
|
||||||
#define EGL_NATIVE_PIXMAP_KHR 0x30B0
|
|
||||||
|
|
||||||
static int x11_supports_composite_named_window_pixmap(Display *display) {
|
static int x11_supports_composite_named_window_pixmap(Display *display) {
|
||||||
int extension_major;
|
int extension_major;
|
||||||
int extension_minor;
|
int extension_minor;
|
||||||
|
Loading…
Reference in New Issue
Block a user