[gtk/wip/chergert/glproto: 885/920] include epoxy i a single place




commit baf091b118c31fb606b01b115573d1640316675b
Author: Christian Hergert <chergert redhat com>
Date:   Wed Feb 3 12:46:58 2021 -0800

    include epoxy i a single place

 gsk/next/gskglbuffer.c        | 2 --
 gsk/next/gskglbufferprivate.h | 3 +--
 gsk/next/gskglcommandqueue.c  | 1 -
 gsk/next/gskglcompiler.c      | 1 -
 gsk/next/gskgltypesprivate.h  | 2 +-
 gsk/next/gskgluniformstate.c  | 1 -
 6 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/gsk/next/gskglbuffer.c b/gsk/next/gskglbuffer.c
index f7494da987..1e16b0b129 100644
--- a/gsk/next/gskglbuffer.c
+++ b/gsk/next/gskglbuffer.c
@@ -20,8 +20,6 @@
 
 #include "config.h"
 
-#include <epoxy/gl.h>
-
 #include "gskglbufferprivate.h"
 
 /**
diff --git a/gsk/next/gskglbufferprivate.h b/gsk/next/gskglbufferprivate.h
index 01fda316cd..01612b5e23 100644
--- a/gsk/next/gskglbufferprivate.h
+++ b/gsk/next/gskglbufferprivate.h
@@ -21,8 +21,7 @@
 #ifndef __GSK_GL_BUFFER_PRIVATE_H__
 #define __GSK_GL_BUFFER_PRIVATE_H__
 
-#include <glib.h>
-#include <epoxy/gl.h>
+#include "gskgltypesprivate.h"
 
 G_BEGIN_DECLS
 
diff --git a/gsk/next/gskglcommandqueue.c b/gsk/next/gskglcommandqueue.c
index c4d9aba60f..fd51a69be2 100644
--- a/gsk/next/gskglcommandqueue.c
+++ b/gsk/next/gskglcommandqueue.c
@@ -23,7 +23,6 @@
 
 #include "config.h"
 
-#include <epoxy/gl.h>
 #include <string.h>
 
 #include <gdk/gdkglcontextprivate.h>
diff --git a/gsk/next/gskglcompiler.c b/gsk/next/gskglcompiler.c
index 2ab1cfe5f3..d51d10fc3a 100644
--- a/gsk/next/gskglcompiler.c
+++ b/gsk/next/gskglcompiler.c
@@ -22,7 +22,6 @@
 
 #include <gsk/gskdebugprivate.h>
 #include <gio/gio.h>
-#include <epoxy/gl.h>
 #include <string.h>
 
 #include "gskglcommandqueueprivate.h"
diff --git a/gsk/next/gskgltypesprivate.h b/gsk/next/gskgltypesprivate.h
index d8b22f7019..b8571a59af 100644
--- a/gsk/next/gskgltypesprivate.h
+++ b/gsk/next/gskgltypesprivate.h
@@ -21,8 +21,8 @@
 #ifndef __GSK_GL_TYPES_PRIVATE_H__
 #define __GSK_GL_TYPES_PRIVATE_H__
 
-#include <graphene.h>
 #include <epoxy/gl.h>
+#include <graphene.h>
 #include <gdk/gdk.h>
 #include <gsk/gsk.h>
 
diff --git a/gsk/next/gskgluniformstate.c b/gsk/next/gskgluniformstate.c
index 9c781744d1..6cf8ccf541 100644
--- a/gsk/next/gskgluniformstate.c
+++ b/gsk/next/gskgluniformstate.c
@@ -21,7 +21,6 @@
 #include "config.h"
 
 #include <gsk/gskroundedrectprivate.h>
-#include <epoxy/gl.h>
 #include <string.h>
 
 #include "gskgluniformstateprivate.h"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]