diff options
author | Jonas Ådahl <jadahl@gmail.com> | 2019-01-22 19:01:51 +0100 |
---|---|---|
committer | Jonas Ådahl <jadahl@gmail.com> | 2019-01-22 19:06:14 +0100 |
commit | c57ae7fc9cf2db5662bc51ef30af799310ffbf53 (patch) | |
tree | 0ea4cf9071f5ac82405ebeabdb069c10ce916139 /cogl/cogl-path | |
parent | 6c91683380e138472d11900be352f24ed9105c40 (diff) | |
download | mutter-c57ae7fc9cf2db5662bc51ef30af799310ffbf53.tar.gz |
cogl/path: Don't depend on GL/glu.h
It's not needed for anything, and we can get rid of the dependency we
just added.
Also remove the installation step from Dockerfile.
Diffstat (limited to 'cogl/cogl-path')
-rw-r--r-- | cogl/cogl-path/meson.build | 1 | ||||
-rw-r--r-- | cogl/cogl-path/tesselator/mesh.h | 2 | ||||
-rw-r--r-- | cogl/cogl-path/tesselator/normal.h | 1 | ||||
-rw-r--r-- | cogl/cogl-path/tesselator/render.h | 1 | ||||
-rw-r--r-- | cogl/cogl-path/tesselator/sweep.h | 1 | ||||
-rw-r--r-- | cogl/cogl-path/tesselator/tess.h | 1 |
6 files changed, 4 insertions, 3 deletions
diff --git a/cogl/cogl-path/meson.build b/cogl/cogl-path/meson.build index 37cd18fc4..7df5636cc 100644 --- a/cogl/cogl-path/meson.build +++ b/cogl/cogl-path/meson.build @@ -50,7 +50,6 @@ cogl_path_sources += libmutter_cogl_path_enum_types cogl_path_c_args = [ cogl_c_args, - '-I@0@'.format(glu_dep.get_pkgconfig_variable('includedir')), ] libmutter_cogl_path = shared_library('mutter-cogl-path-' + libmutter_api_version, diff --git a/cogl/cogl-path/tesselator/mesh.h b/cogl/cogl-path/tesselator/mesh.h index 690c5f2f6..ede4798a3 100644 --- a/cogl/cogl-path/tesselator/mesh.h +++ b/cogl/cogl-path/tesselator/mesh.h @@ -35,7 +35,7 @@ #ifndef __mesh_h_ #define __mesh_h_ -#include <GL/glu.h> +#include <GL/gl.h> typedef struct GLUmesh GLUmesh; diff --git a/cogl/cogl-path/tesselator/normal.h b/cogl/cogl-path/tesselator/normal.h index c376ca445..b699e087a 100644 --- a/cogl/cogl-path/tesselator/normal.h +++ b/cogl/cogl-path/tesselator/normal.h @@ -36,6 +36,7 @@ #define __normal_h_ #include "tess.h" +#include "tesselator.h" /* __gl_projectPolygon( tess ) determines the polygon normal * and project vertices onto the plane of the polygon. diff --git a/cogl/cogl-path/tesselator/render.h b/cogl/cogl-path/tesselator/render.h index a298c9a94..e0621e84e 100644 --- a/cogl/cogl-path/tesselator/render.h +++ b/cogl/cogl-path/tesselator/render.h @@ -36,6 +36,7 @@ #define __render_h_ #include "mesh.h" +#include "tesselator.h" /* __gl_renderMesh( tess, mesh ) takes a mesh and breaks it into triangle * fans, strips, and separate triangles. A substantial effort is made diff --git a/cogl/cogl-path/tesselator/sweep.h b/cogl/cogl-path/tesselator/sweep.h index feb68b0ff..8b3857796 100644 --- a/cogl/cogl-path/tesselator/sweep.h +++ b/cogl/cogl-path/tesselator/sweep.h @@ -36,6 +36,7 @@ #define __sweep_h_ #include "mesh.h" +#include "tesselator.h" /* __gl_computeInterior( tess ) computes the planar arrangement specified * by the given contours, and further subdivides this arrangement diff --git a/cogl/cogl-path/tesselator/tess.h b/cogl/cogl-path/tesselator/tess.h index 162496088..061dd760c 100644 --- a/cogl/cogl-path/tesselator/tess.h +++ b/cogl/cogl-path/tesselator/tess.h @@ -35,7 +35,6 @@ #ifndef __tess_h_ #define __tess_h_ -#include <GL/glu.h> #include <setjmp.h> #include "mesh.h" #include "dict.h" |