summaryrefslogtreecommitdiff
path: root/cogl
diff options
context:
space:
mode:
authorDaniel van Vugt <daniel.van.vugt@canonical.com>2021-05-20 17:11:05 +0800
committerDaniel van Vugt <daniel.van.vugt@canonical.com>2021-06-01 15:42:52 +0800
commitf390340da5d662070b8ec7dd17d7a3d5c8bd715b (patch)
tree70ed41091c0df5ca7f600f1e49bb032b745efc15 /cogl
parent14c8f5f94c2d8b91b17184c9d7eb7c060fc1176c (diff)
downloadmutter-f390340da5d662070b8ec7dd17d7a3d5c8bd715b.tar.gz
cogl/clip-stack-gl: Remove unused code: #define GL_CLIP_PLANEn
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1873>
Diffstat (limited to 'cogl')
-rw-r--r--cogl/cogl/driver/gl/cogl-clip-stack-gl.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/cogl/cogl/driver/gl/cogl-clip-stack-gl.c b/cogl/cogl/driver/gl/cogl-clip-stack-gl.c
index 11a353f39..4975f34cf 100644
--- a/cogl/cogl/driver/gl/cogl-clip-stack-gl.c
+++ b/cogl/cogl/driver/gl/cogl-clip-stack-gl.c
@@ -42,15 +42,6 @@
#include "driver/gl/cogl-pipeline-opengl-private.h"
#include "driver/gl/cogl-clip-stack-gl-private.h"
-#ifndef GL_CLIP_PLANE0
-#define GL_CLIP_PLANE0 0x3000
-#define GL_CLIP_PLANE1 0x3001
-#define GL_CLIP_PLANE2 0x3002
-#define GL_CLIP_PLANE3 0x3003
-#define GL_CLIP_PLANE4 0x3004
-#define GL_CLIP_PLANE5 0x3005
-#endif
-
static void
add_stencil_clip_rectangle (CoglFramebuffer *framebuffer,
CoglMatrixEntry *modelview_entry,